Package wt.change2
Class WTChangeIssueMasterIdentity
java.lang.Object
wt.fc._IdentificationObject
wt.fc.IdentificationObject
wt.change2._ChangeIdentificationObject
wt.change2.ChangeIdentificationObject
wt.change2._WTChangeIssueMasterIdentity
wt.change2.WTChangeIssueMasterIdentity
- 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,extendable=true,properties={@GeneratedProperty(name="number",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="A unique number assigned by this WTChangeIssueIdentity object for the associated WTChangeIssue object when it is stored in the database.",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS,upperLimit=20),columnProperties=@ColumnProperties(columnName="WTCHGISSUENUMBER")),@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The end-user provided name that this WTChangeIssueIdentity object is responsible setting on a WTChangeIssue object at the request of the Identity Service.",constraints=@PropertyConstraints(upperLimit=70,required=true))})
public class WTChangeIssueMasterIdentity
extends _WTChangeIssueMasterIdentity
The identification object for WTChangeIssue objects. This object is
responsible for assigning a unique number to a WTChangeIssue object when
it is stored in the database. It is responsible, through the Identificaition
Service, for setting the user-provided name for a WTChangeIssue object.
Use the newWTChangeIssueMasterIdentity static factory method(s),
not the WTChangeIssueMasterIdentity 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.change2._WTChangeIssueMasterIdentity
NAME, NUMBERFields inherited from interface wt.org._OrganizationOwnedIdentificationObjectNamespace
ORGANIZATION_REFERENCE -
Method Summary
Modifier and TypeMethodDescriptionReturns the number.static WTChangeIssueMasterIdentityFactory method to create a WTChangeIssueMasterIdentity object with the name and number set to the passed-in arguments.voidSets the value of the attribute: name; A name assigned by this WTChangeIssueIdentity object for the associated WTChangeIssue object when it is stored in the database.voidSets the value of the attribute: number; A unique number assigned by this WTChangeIssueIdentity object for the associated WTChangeIssue object when it is stored in the database.Methods inherited from class wt.change2._WTChangeIssueMasterIdentity
getName, getNumberMethods inherited from class wt.change2._ChangeIdentificationObject
getOrganizationReference, setOrganizationReferenceMethods inherited from class wt.fc.IdentificationObject
getSemanticKey, initialize
-
Method Details
-
setNumber
Sets the value of the attribute: number; A unique number assigned by this WTChangeIssueIdentity object for the associated WTChangeIssue object when it is stored in the database.
Supported API: true- Overrides:
setNumberin class_WTChangeIssueMasterIdentity- Parameters:
a_Number-- Throws:
WTPropertyVetoException- See Also:
-
setName
Sets the value of the attribute: name; A name assigned by this WTChangeIssueIdentity object for the associated WTChangeIssue object when it is stored in the database.
Supported API: true- Overrides:
setNamein class_WTChangeIssueMasterIdentity- Parameters:
a_Name-- Throws:
WTPropertyVetoException- See Also:
-
getIdentity
Returns the number.
Supported API: true- Overrides:
getIdentityin classwt.change2.ChangeIdentificationObject- Returns:
- String
-
newWTChangeIssueMasterIdentity
public static WTChangeIssueMasterIdentity newWTChangeIssueMasterIdentity(WTChangeIssueMaster issue) throws WTException Factory method to create a WTChangeIssueMasterIdentity object with the name and number set to the passed-in arguments.
Supported API: true- Parameters:
issue-- Returns:
- WTChangeIssueMasterIdentity
- Throws:
WTException
-