wt.change2
Class WTChangeInvestigationMasterIdentity

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

public class WTChangeInvestigationMasterIdentity
extends wt.change2.ChangeIdentificationObject
implements Externalizable

The identification object for WTChangeInvestigation objects. This object is responsible for assigning a unique number to a WTChangeInvestigation object when it is stored in the database. It is responsible, through the Identificaition Service, for setting the user-provided name for a WTChangeInvestigation object.

Use the newWTChangeInvestigationMasterIdentity static factory method(s), not the WTChangeInvestigationMasterIdentity 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:
WTChangeInvestigation, Serialized Form

Field Summary
 
Fields inherited from interface wt.org.OrganizationOwnedIdentificationObjectNamespace
ORGANIZATION_REFERENCE
 
Method Summary
 String getIdentity()
          Returns the number.
 String getName()
          Gets the value of the attribute: name; The end-user provided name that this WTChangeInvestigationIdentity object is responsible setting on a WTChangeInvestigation object at the request of the Identity Service.
 String getNumber()
          Gets the value of the attribute: number; A unique number assigned by this WTChangeInvestigationIdentity object for the associated WTChangeInvestigation object when it is stored in the database.
 void setName(String a_Name)
          Sets the value of the attribute: name; The end-user provided name that this WTChangeInvestigationIdentity object is responsible setting on a WTChangeInvestigation object at the request of the Identity Service.
 void setNumber(String a_Number)
          Sets the value of the attribute: number; A unique number assigned by this WTChangeInvestigationIdentity object for the associated WTChangeInvestigation object when it is stored in the database.
protected  void setToObject(Identified obj)
          Sets the name to the given change investigation

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getNumber

public String getNumber()
Gets the value of the attribute: number; A unique number assigned by this WTChangeInvestigationIdentity object for the associated WTChangeInvestigation object when it is stored in the database.

Supported API: true

Returns:
String

setNumber

public void setNumber(String a_Number)
               throws WTPropertyVetoException
Sets the value of the attribute: number; A unique number assigned by this WTChangeInvestigationIdentity object for the associated WTChangeInvestigation object when it is stored in the database.

Supported API: true

Parameters:
a_Number -
Throws:
WTPropertyVetoException

getName

public String getName()
Gets the value of the attribute: name; The end-user provided name that this WTChangeInvestigationIdentity object is responsible setting on a WTChangeInvestigation object at the request of the Identity Service.

Supported API: true

Returns:
String

setName

public void setName(String a_Name)
             throws WTPropertyVetoException
Sets the value of the attribute: name; The end-user provided name that this WTChangeInvestigationIdentity object is responsible setting on a WTChangeInvestigation object at the request of the Identity Service.

Supported API: true

Parameters:
a_Name -
Throws:
WTPropertyVetoException

setToObject

protected void setToObject(Identified obj)
Sets the name to the given change investigation

Supported API: true

Parameters:
obj -

getIdentity

public String getIdentity()
Returns the number.

Supported API: true

Overrides:
getIdentity in class wt.change2.ChangeIdentificationObject
Returns:
String