Package wt.fc

Class SemanticKey

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._SemanticKey
wt.fc.SemanticKey
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, DisplayIdentification
Direct Known Subclasses:
_MaturityKey, wt.mpm.configuration._MPMConfRecipeMasterKey, _MPMControlQualityMasterKey, _MPMMfgProcessMasterKey, _MPMMfgStandardGroupMasterKey, _MPMOperationMasterKey, _MPMProcessPlanMasterKey, _MPMSequenceMasterKey, _MPMStandardCCMasterKey, _RegulatorySubmissionMasterKey, wt.folder._SubFolderLinkConstraint, _WTDocumentMasterKey, _WTPartAlternateRepMasterKey, _WTPartMasterKey, com.ptc.windchill.suma.npi._WTPartRequestMasterKey

@GenAsPersistable(superClass=WTObject.class, extendable=true, versions=4002979067312834091L, properties=@GeneratedProperty(name="key",type=java.lang.String.class,javaDoc="String representing the identity of an object. It is required that different identities be mapped to different strings. This can be accomplished for example, by concatenating the attributes that constitute the identity, separating the component attributes by an adequate separator. An adequate separator is one that is guaranteed not to occur inside the attributes.",accessors=@PropertyAccessors(getAccess=PROTECTED),constraints=@PropertyConstraints(upperLimit=425),columnProperties=@ColumnProperties(columnName="wtkey")), foreignKeys=@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="theUniquelyIdentified",type=UniquelyIdentified.class,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="theSemanticKey",cardinality=ONE)), tableProperties=@TableProperties(compositeIndex1="+theUniquelyIdentifiedReference.key.id",compositeUnique1="+ key")) public class SemanticKey extends wt.fc._SemanticKey
The SemanticKey class helps to ensure the uniqueness constraint on object's identity. This is accomplished by storing persistently a unique string representing the identity.

Use the newSemanticKey static factory method(s), not the SemanticKey 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: true

See Also: