wt.inf.container
Interface WTContainedIdentified

All Superinterfaces:
Identified, NetFactor, ObjectMappable, Persistable, RecentlyVisited, Serializable, WTContained
All Known Subinterfaces:
ContainerTeamManaged, Folder, WTContainer
All Known Implementing Classes:
AbsCollectionCriteria, AnalysisActivity, Archive, Cabinet, ChangeActivity2, ChangeAnalysis, ChangeIssue, ChangeOrder2, ChangeRequest2, ContainerTeam, DataMaintRecord, EPMDocumentMaster, ESITarget, ExchangeContainer, ManagedBaseline, OrgContainer, PDMLinkProduct, Project2, PromotionNotice, SubFolder, WTDocumentMaster, WTLibrary, WTPartMaster

public interface WTContainedIdentified
extends WTContained, Identified

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

See Also:
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

CONTAINER

public static final String CONTAINER
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

CONTAINER_REFERENCE

public static final String CONTAINER_REFERENCE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getContainer

public WTContainer getContainer()
Gets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
getContainer in interface WTContained
Returns:
WTContainer

setContainer

public void setContainer(WTContainer a_Container)
                  throws WTPropertyVetoException,
                         WTException
Sets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
setContainer in interface WTContained
Parameters:
a_Container -
Throws:
WTPropertyVetoException
WTException

getContainerReference

public WTContainerRef getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
getContainerReference in interface WTContained
Returns:
WTContainerRef

setContainerReference

public void setContainerReference(WTContainerRef a_ContainerReference)
                           throws WTPropertyVetoException
Sets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
setContainerReference in interface WTContained
Parameters:
a_ContainerReference -
Throws:
WTPropertyVetoException