Package wt.inf.container
Class WTContainerRef
java.lang.Object
wt.fc._ObjectReference
wt.fc.ObjectReference
wt.fc._CachedObjectReference
wt.fc.CachedObjectReference
wt.inf.container._WTContainerRef
wt.inf.container.WTContainerRef
- 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="description",type=java.lang.String.class,supportedAPI=PRIVATE,accessors=@PropertyAccessors(setAccess=PRIVATE),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PRIVATE,accessors=@PropertyAccessors(setAccess=PRIVATE),columnProperties=@ColumnProperties(persistent=false))})
public class WTContainerRef
extends wt.inf.container._WTContainerRef
Use the newWTContainerRef static factory method(s), not
the WTContainerRef 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.inf.container._WTContainerRef
DESCRIPTION, EXTERNALIZATION_VERSION_UID, NAMEFields inherited from class wt.fc._CachedObjectReference
INFLATED, READ_ONLY_OBJECTFields inherited from class wt.fc._ObjectReference
KEY, OBJECT, OBJECT_ID -
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only reference to the cached instance of the container.protected voidinitialize(WTContainer container) Supports initialization, following construction of an instance.protected voidinitialize(WTContainerRef ref) Supports initialization, following construction of an instance.static WTContainerRefnewWTContainerRef(WTContainer container)
Supported API: truestatic WTContainerRef
Supported API: trueMethods inherited from class wt.inf.container._WTContainerRef
getClassInfo, getConceptualClassname, readExternal, readExternal, readVersion, super_readExternal_WTContainerRef, super_readVersion_WTContainerRef, super_writeExternal_WTContainerRef, writeExternal, writeExternalMethods inherited from class wt.fc.CachedObjectReference
deflate, getObject, getReadOnlyObject, inflate, isObjectInflated, refresh, reset, setObjectNullMethods inherited from class wt.fc._CachedObjectReference
isInflated, readVersion, setInflated, super_readExternal_CachedObjectReference, super_readVersion_CachedObjectReference, super_writeExternal_CachedObjectReferenceMethods inherited from class wt.fc.ObjectReference
equals, getCurrentEffectiveObject, getDeflateOnWrite, getKey, getLcp, getObjectId, getReferencedClass, getReferencedClass, hashCode, hasPersistence, initialize, initialize, initialize, initialize, isTargetMethodLocal, makeObjectReferenceImmutable, newObjectReference, newObjectReference, newObjectReference, newObjectReference, references, setDeflateOnWrite, setKey, setObject, setObjectId, toStringMethods inherited from class wt.fc._ObjectReference
readVersion
-
Method Details
-
newWTContainerRef
Supported API: true- Parameters:
container-- Returns:
- WTContainerRef
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
container-- Throws:
WTException
-
newWTContainerRef
Supported API: true- Parameters:
ref-- Returns:
- WTContainerRef
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
ref-- Throws:
WTException
-
getReferencedContainerReadOnly
Returns a read-only reference to the cached instance of the container.
Supported API: true- Returns:
- WTContainer
-