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