Package wt.part

Class WTPartMasterIdentity

java.lang.Object
wt.fc._IdentificationObject
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._IdentificationObjectNamespace, wt.fc._NetFactor, wt.fc.IdentificationObjectNamespace, NetFactor, wt.inf.container._WTContainerNamespace, wt.inf.container.WTContainerNamespace, _OrganizationOwnedIdentificationObjectNamespace, OrganizationOwnedIdentificationObjectNamespace

The uniqueness constraint of number on the master. The name, while not part of the constraint, is required to go through the identity service to be changed.

Use the newWTPartMasterIdentity static factory method(s), not the WTPartMasterIdentity 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:
  • Method Details

    • newWTPartMasterIdentity

      public static WTPartMasterIdentity newWTPartMasterIdentity(WTPartMaster part) throws WTException


      Supported API: true
      Parameters:
      part -
      Returns:
      WTPartMasterIdentity
      Throws:
      WTException
    • initialize

      protected void initialize(WTPartMaster part) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      part -
      Throws:
      WTException
    • 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