Class ManagedCollectionIdentity

java.lang.Object
wt.fc._IdentificationObject
wt.fc.IdentificationObject
com.ptc.core.managedcollection._ManagedCollectionIdentity
com.ptc.core.managedcollection.ManagedCollectionIdentity
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._IdentificationObjectNamespace, wt.fc._NetFactor, wt.fc.IdentificationObjectNamespace, NetFactor, wt.inf.container._WTContainerNamespace, wt.inf.container.WTContainerNamespace

@GenAsUnPersistable(superClass=IdentificationObject.class,interfaces={wt.inf.container.WTContainerNamespace.class,java.io.Externalizable.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="number",type=java.lang.String.class,javaDoc="A string attribute representing a unique number for a ManagedCollection instance (forced upper case).",constraints=@PropertyConstraints(stringCase=UPPER_CASE,changeable=VIA_OTHER_MEANS,required=true),columnProperties=@ColumnProperties(columnName="collectionNumber")),@GeneratedProperty(name="name",type=java.lang.String.class,javaDoc="A string attribute representing a non-unique name of a ManagedCollection instance.",constraints=@PropertyConstraints(required=true))}) public class ManagedCollectionIdentity extends com.ptc.core.managedcollection._ManagedCollectionIdentity
Implementation of IdentificationObject for a ManagedCollection. The identity attributes are number (unique) and name (non-unique).

Use the newManagedCollectionIdentity static factory method(s), not the ManagedCollectionIdentity 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:
  • Field Summary

    Fields inherited from class com.ptc.core.managedcollection._ManagedCollectionIdentity

    EXTERNALIZATION_VERSION_UID, NAME, NUMBER

    Fields inherited from interface wt.inf.container._WTContainerNamespace

    CONTAINED_IDENTIFIED, CONTAINER_REFERENCE, NAMESPACE_REFERENCE

    Fields inherited from interface wt.inf.container.WTContainerNamespace

    NAMESPACE_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    Creates a name for the uniqueness constraint.

    Methods inherited from class com.ptc.core.managedcollection._ManagedCollectionIdentity

    getClassInfo, getConceptualClassname, getContainedIdentified, getContainerReference, getName, getNamespaceReference, getNumber, readExternal, readVersion, setContainedIdentified, setContainerReference, setName, setNamespaceReference, setNumber, super_readExternal_ManagedCollectionIdentity, super_readVersion_ManagedCollectionIdentity, super_writeExternal_ManagedCollectionIdentity, writeExternal

    Methods inherited from class wt.fc._IdentificationObject

    readVersion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getKeyClassName

      protected String getKeyClassName()
      Creates a name for the uniqueness constraint. The default implementation uses the name of the class, which makes it inappropriate for uniqueness constraints spanning several classes.

      Supported API: true
      Overrides:
      getKeyClassName in class IdentificationObject
      Returns:
      String