wt.part
Class WTPartMasterIdentity

java.lang.Object
  extended by wt.fc.IdentificationObject
      extended by wt.part.WTPartMasterIdentity
All Implemented Interfaces:
Externalizable, Serializable, wt.fc.IdentificationObjectNamespace, NetFactor, WTContainerNamespace, OrganizationOwnedIdentificationObjectNamespace

public class WTPartMasterIdentity
extends IdentificationObject
implements OrganizationOwnedIdentificationObjectNamespace, WTContainerNamespace, Externalizable

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:
Serialized Form

Field Summary
 
Fields inherited from interface wt.org.OrganizationOwnedIdentificationObjectNamespace
ORGANIZATION_REFERENCE
 
Method Summary
protected  String getKeyClassName()
          Creates a name for the uniqueness constraint.
 WTPrincipalReference getOrganizationReference()
          Gets the value of the attribute: organizationReference.
protected  void initialize(WTPartMaster part)
          Supports initialization, following construction of an instance.
static WTPartMasterIdentity newWTPartMasterIdentity(WTPartMaster part)
          

Supported API: true
 void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
          Sets the value of the attribute: organizationReference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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

Returns:
String

getOrganizationReference

public WTPrincipalReference getOrganizationReference()
Gets the value of the attribute: organizationReference.

Supported API: true

Specified by:
getOrganizationReference in interface OrganizationOwnedIdentificationObjectNamespace
Returns:
WTPrincipalReference

setOrganizationReference

public void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
                              throws WTPropertyVetoException
Sets the value of the attribute: organizationReference.

Supported API: true

Parameters:
a_OrganizationReference -
Throws:
WTPropertyVetoException