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:
  • Field Summary

    Fields inherited from class wt.fc._SemanticKey

    EXTERNALIZATION_VERSION_UID, KEY, UNIQUELY_IDENTIFIED, UNIQUELY_IDENTIFIED_REFERENCE

    Fields inherited from class wt.fc._WTObject

    CREATE_TIMESTAMP, MODIFY_TIMESTAMP

    Fields inherited from interface wt.fc._Persistable

    PERSIST_INFO

    Fields inherited from interface wt.identity.DisplayIdentification

    DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE

    Fields inherited from interface wt.fc.Persistable

    IDENTITY, TYPE
  • Method Summary

    Methods inherited from class wt.fc._SemanticKey

    getClassInfo, getConceptualClassname, getKey, getType, getUniquelyIdentified, getUniquelyIdentifiedReference, readExternal, readExternal, readVersion, setKey, setUniquelyIdentified, setUniquelyIdentifiedReference, super_readExternal_SemanticKey, super_readVersion_SemanticKey, super_writeExternal_SemanticKey, writeExternal, writeExternal

    Methods inherited from class wt.fc._WTObject

    equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait