Package wt.vc.views
Class ViewReference
java.lang.Object
wt.fc._ObjectReference
wt.fc.ObjectReference
wt.fc._CachedObjectReference
wt.fc.CachedObjectReference
wt.vc.views._ViewReference
wt.vc.views.ViewReference
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,_WTReference,NetFactor,ObjectMappable,WTReference,Evolvable
@GenAsObjectMappable(superClass=CachedObjectReference.class,versions=474185184433863156L,properties={@GeneratedProperty(name="name",type=java.lang.String.class,javaDoc="Non-persistent attribute that is filled in by the inflate in the query results thru the cached object.",accessors=@PropertyAccessors(setAccess=PRIVATE),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="object",type=View.class,concrete=false,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(required=false),columnProperties=@ColumnProperties(persistent=false))})
public final class ViewReference
extends wt.vc.views._ViewReference
The ViewReference is an ObjectReference particular to Views. When getting
the view object from the reference, it uses the ViewService rather than
hitting the database directly.
Use the newViewReference static factory method(s), not the
ViewReference constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.fc._ObjectReference
OBJECT -
Method Summary
Modifier and TypeMethodDescriptionReturn the nice string of the referenced object's identity.protected voidinitialize(ObjectIdentifier objId) Supports initialization, following construction of an instance.protected voidinitialize(View obj) Supports initialization, following construction of an instance.protected voidinitialize(ViewReference viewReference) Supports initialization, following construction of an instance.static ViewReference
Supported API: truestatic ViewReferencenewViewReference(ObjectIdentifier objId)
Supported API: truestatic ViewReferencenewViewReference(View obj)
Supported API: truestatic ViewReferencenewViewReference(ViewReference viewReference)
Supported API: trueMethods inherited from class wt.fc.ObjectReference
equals, getKey, hashCode, newObjectReference, newObjectReference, references, setObject, toString
-
Method Details
-
newViewReference
Supported API: true- Returns:
- ViewReference
- Throws:
WTException
-
newViewReference
Supported API: true- Parameters:
obj-- Returns:
- ViewReference
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
obj-- Throws:
WTException
-
newViewReference
Supported API: true- Parameters:
viewReference-- Returns:
- ViewReference
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
viewReference-- Throws:
WTException
-
newViewReference
Supported API: true- Parameters:
objId-- Returns:
- ViewReference
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Overrides:
initializein classObjectReference- Parameters:
objId-- Throws:
WTException
-
getIdentity
Return the nice string of the referenced object's identity.
Supported API: true- Returns:
- String
-