Package wt.epm

Class EPMCADNamespace

All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable

@GenAsPersistable(versions=-7341394720140397698L,properties=@GeneratedProperty(name="CADName",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="TheCAD name of the document..",constraints=@PropertyConstraints(required=true)),foreignKeys={@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="master",type=EPMDocumentMaster.class,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="namespace",cardinality=ONE_TO_MANY,cascade=true)),@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="context",type=Persistable.class,javaDoc="A null context reference means PDM container."),myRole=@MyRole(name="theEPMCADNamespace",cardinality=ONE))},tableProperties=@TableProperties(compositeUnique1="+contextReference.key.id +CADName",compositeUnique2="+masterReference.key.id+contextReference.key.id",compositeUnique3="+contextReference.key.id+masterReference.key.id",compositeUnique4="+CADName+contextReference.key.id +masterReference.key.id")) public class EPMCADNamespace extends _EPMCADNamespace
EPMCADNamespace is to restrict a unique CAD name in the context of a project or PDM. When a CAD document is checked-in, its CAD name along with the container will be added. When a CAD document is shared to a given sandbox project, its CAD Name and the sandbox project will be added. When a CAD document is deleted or no longer shared to a project, its namespace entry will be deleted. EPMCADNamespace allows duplicate CAD names in different EPMWorkspace contexts. When a CAD document is uploaded/added to the workspace, its CAD Name with the workspace will be added and will remain until CAD document removed from the workspace. Although the CAD document's master reference is not needed in the namespace, it is used to identify how the CAD name is added to a given namespace. In addition, the master reference can be used to determine whether the CAD name entry is a shared object, or actually resides in the container and/or the workspace.

Use the newEPMCADNamespace static factory method(s), not the EPMCADNamespace 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: