wt.change2
Class WTChangeOrder2MasterIdentity

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

public class WTChangeOrder2MasterIdentity
extends wt.change2.ChangeIdentificationObject
implements Externalizable

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

Use the newWTChangeOrder2MasterIdentity static factory method(s), not the WTChangeOrder2MasterIdentity 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:
WTChangeOrder2, 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 WTChangeOrder2Identity object is responsible setting on a WTChangeOrder2 object at the request of the Identity Service.
 String getNumber()
          Gets the value of the attribute: number; A unique number assigned by this WTChangeOrder2Identity object for the associated WTChangeOrder2 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 WTChangeOrder2Identity object is responsible setting on a WTChangeOrder2 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 WTChangeOrder2Identity object for the associated WTChangeOrder2 object when it is stored in the database.
protected  void setToObject(Identified obj)
          Sets the name to the given change order.
 
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 WTChangeOrder2Identity object for the associated WTChangeOrder2 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 WTChangeOrder2Identity object for the associated WTChangeOrder2 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 WTChangeOrder2Identity object is responsible setting on a WTChangeOrder2 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 WTChangeOrder2Identity object is responsible setting on a WTChangeOrder2 object at the request of the Identity Service.

Supported API: true

Parameters:
a_Name -
Throws:
WTPropertyVetoException

getIdentity

public String getIdentity()
Returns the number.

Supported API: true

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

setToObject

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

Supported API: true

Parameters:
obj -