|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A utitlity interface that objects that are both Identified
and WTContained
should implement. This interface forces
callers to use IdentityService.changeIdentity
to change
an object's container reference, as opposed to WTContained.setContainerReference
.
Supported API: true
Extendable: true
WTContainerNamespace
,
WTContained
,
Identified
,
IdentityService#changeIdentity
,
IdentityHelper#isChangeable
Field Summary | |
static String |
CONTAINER
Label for the attribute. |
static String |
CONTAINER_REFERENCE
Label for the attribute. |
Fields inherited from interface wt.inf.container.WTContained |
CONTAINER_ID, CONTAINER_NAME |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Method Summary | |
WTContainer |
getContainer()
Gets the object for the association that plays role: CONTAINER. |
WTContainerRef |
getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE. |
void |
setContainer(WTContainer a_Container)
Sets the object for the association that plays role: CONTAINER. |
void |
setContainerReference(WTContainerRef a_ContainerReference)
Sets the value of the attribute: CONTAINER_REFERENCE. |
Methods inherited from interface wt.inf.container.WTContained |
getContainerName |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Methods inherited from interface wt.fc.Identified |
getIdentificationObject |
Field Detail |
public static final String CONTAINER
public static final String CONTAINER_REFERENCE
Method Detail |
public WTContainer getContainer()
getContainer
in interface WTContained
public void setContainer(WTContainer a_Container) throws WTPropertyVetoException, WTException
setContainer
in interface WTContained
a_Container
-
WTPropertyVetoException
WTException
public WTContainerRef getContainerReference()
getContainerReference
in interface WTContained
public void setContainerReference(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
setContainerReference
in interface WTContained
a_ContainerReference
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |