Class EPMWorkspaceNamespace

java.lang.Object
wt.epm.workspaces._EPMWorkspaceNamespace
wt.epm.workspaces.EPMWorkspaceNamespace
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable

@GenAsPersistable(properties=@GeneratedProperty(name="Name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The CADName/Name of EPMDocument/WTDocument..",constraints=@PropertyConstraints(required=true)),foreignKeys={@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="master",type=EPMDependencyMaster.class,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="wsNamespaceEntry",cardinality=ONE_TO_MANY,cascade=true)),@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="namespace",type=EPMWorkspace.class,javaDoc="The EPMWorkspace of EPMDocument/WTDocument."),myRole=@MyRole(name="theEPMWorkspaceNamespace",cardinality=ONE,cascade=true))},tableProperties=@TableProperties(compositeUnique1="+namespaceReference.key.id +Name",compositeUnique2="+masterReference.key.id+namespaceReference.key.id")) public class EPMWorkspaceNamespace extends _EPMWorkspaceNamespace
The purpose of EPMWorkspaceNamespace is to restrict a unique combination of EPMDocument "CADName" and WTDocument "Name" in context of a EPMWorkspace. Whenever a EPMDocument/WTDocument is added to the EPMWorkspace, its CADName/Name along with the EPMWorkspace will be added to EPMWorkspaceNamespace. When the EPMDocument/WTDocument is removed from the EPMWorkspace, its namespace entry will be deleted. Although the EPMDocument/WTDocument's master reference is not needed in the namespace. It would be useful while traversing and updating entries in namespace. Use the newEPMWorkspaceNamespace static factory method(s), not the EPMWorkspaceNamespace 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: