Package wt.part
Class WTPartMasterIdentity
java.lang.Object
wt.fc._IdentificationObject
wt.fc.IdentificationObject
wt.part._WTPartMasterIdentity
wt.part.WTPartMasterIdentity
- 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
@GenAsUnPersistable(superClass=IdentificationObject.class,interfaces={OrganizationOwnedIdentificationObjectNamespace.class,wt.inf.container.WTContainerNamespace.class,java.io.Externalizable.class},extendable=true,versions=-1918304478361300836L,properties={@GeneratedProperty(name="number",type=java.lang.String.class,constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,upperLimit=40)),@GeneratedProperty(name="name",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=60,required=true))})
public class WTPartMasterIdentity
extends _WTPartMasterIdentity
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:
-
Field Summary
Fields inherited from class wt.part._WTPartMasterIdentity
EXTERNALIZATION_VERSION_UIDFields inherited from interface wt.org._OrganizationOwnedIdentificationObjectNamespace
ORGANIZATION_REFERENCEFields inherited from interface wt.inf.container._WTContainerNamespace
CONTAINED_IDENTIFIED, CONTAINER_REFERENCE, NAMESPACE_REFERENCEFields inherited from interface wt.inf.container.WTContainerNamespace
NAMESPACE_ID -
Method Summary
Modifier and TypeMethodDescriptionprotected StringCreates a name for the uniqueness constraint.protected voidinitialize(WTPartMaster part) Supports initialization, following construction of an instance.static WTPartMasterIdentity
Supported API: trueMethods inherited from class wt.part._WTPartMasterIdentity
getClassInfo, getConceptualClassname, getContainedIdentified, getContainerReference, getName, getNamespaceReference, getNumber, getOrganizationReference, readExternal, readVersion, setContainedIdentified, setContainerReference, setNamespaceReference, setOrganizationReference, super_readExternal_WTPartMasterIdentity, super_readVersion_WTPartMasterIdentity, super_writeExternal_WTPartMasterIdentity, writeExternalMethods inherited from class wt.fc.IdentificationObject
changeIdentity, checkIdentity, createKey, getSemanticKey, initialize, setAdditionalKeyAttributes, toStringMethods inherited from class wt.fc._IdentificationObject
readVersion
-
Method Details
-
newWTPartMasterIdentity
Supported API: true- Parameters:
part-- Returns:
- WTPartMasterIdentity
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
part-- Throws:
WTException
-
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:
getKeyClassNamein classIdentificationObject- Returns:
- String
-