Class NCInvestigationMasterIdentity
java.lang.Object
wt.fc._IdentificationObject
wt.fc.IdentificationObject
wt.change2._ChangeIdentificationObject
wt.change2.ChangeIdentificationObject
com.ptc.qualitymanagement.nc.investigation._NCInvestigationMasterIdentity
com.ptc.qualitymanagement.nc.investigation.NCInvestigationMasterIdentity
- 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=wt.change2.ChangeIdentificationObject.class,interfaces=java.io.Externalizable.class,properties={@GeneratedProperty(name="number",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="A unique number assigned by this NCInvestigationMasterIdentity object for the associated NCInvestigation object when it is stored in the database.",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,upperLimit=20),columnProperties=@ColumnProperties(columnName="WTCHGINVESTIGATIONNUMBER")),@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The end-user provided name that this NCInvestigationMasterIdentity object is responsible setting on a NCInvestigation object at the request of the Identity Service.",constraints=@PropertyConstraints(upperLimit=70))})
public class NCInvestigationMasterIdentity
extends _NCInvestigationMasterIdentity
The identification object for NCInvestigation objects. This object is
responsible for assigning a unique number to a NCInvestigation object
when it is stored in the database. It is responsible, through the Identificaition
Service, for setting the user-provided name for a NCInvestigation object.
Use the newNCInvestigationMasterIdentity static factory method(s),
not the NCInvestigationMasterIdentity 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 com.ptc.qualitymanagement.nc.investigation._NCInvestigationMasterIdentity
EXTERNALIZATION_VERSION_UID, NAME, NUMBERFields 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 TypeMethodDescriptionReturns the number.voidSets the value of the attribute: name; A name assigned by this NCInvestigationMasterIdentity object for the associated NCInvestigation object when it is stored in the database.voidSets the value of the attribute: number; A unique number assigned by this NCInvestigationMasterIdentity object for the associated NCInvestigation object when it is stored in the database.protected voidsetToObject(Identified obj) Sets the name to the given change order.Methods inherited from class com.ptc.qualitymanagement.nc.investigation._NCInvestigationMasterIdentity
getClassInfo, getConceptualClassname, getName, getNumber, readExternal, readVersion, super_readExternal_NCInvestigationMasterIdentity, super_readVersion_NCInvestigationMasterIdentity, super_writeExternal_NCInvestigationMasterIdentity, writeExternalMethods inherited from class wt.change2.ChangeIdentificationObject
getKeyClassNameMethods inherited from class wt.change2._ChangeIdentificationObject
getContainedIdentified, getContainerReference, getNamespaceReference, getOrganizationReference, readVersion, setContainedIdentified, setContainerReference, setNamespaceReference, setOrganizationReference, super_readExternal_ChangeIdentificationObject, super_readVersion_ChangeIdentificationObject, super_writeExternal_ChangeIdentificationObjectMethods inherited from class wt.fc.IdentificationObject
changeIdentity, checkIdentity, createKey, getSemanticKey, initialize, setAdditionalKeyAttributes, toStringMethods inherited from class wt.fc._IdentificationObject
readVersion
-
Method Details
-
setNumber
Sets the value of the attribute: number; A unique number assigned by this NCInvestigationMasterIdentity object for the associated NCInvestigation object when it is stored in the database.
Supported API: true- Overrides:
setNumberin class_NCInvestigationMasterIdentity- Parameters:
a_Number-- Throws:
WTPropertyVetoException- See Also:
-
setName
Sets the value of the attribute: name; A name assigned by this NCInvestigationMasterIdentity object for the associated NCInvestigation object when it is stored in the database.
Supported API: true- Overrides:
setNamein class_NCInvestigationMasterIdentity- Parameters:
a_Name-- Throws:
WTPropertyVetoException- See Also:
-
getIdentity
Returns the number.
Supported API: true- Overrides:
getIdentityin classwt.change2.ChangeIdentificationObject- Returns:
- String
-
setToObject
Sets the name to the given change order.
Supported API: true- Specified by:
setToObjectin classIdentificationObject- Parameters:
obj-
-