wt.change2
Class WTChangeProposalMasterIdentity

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

public class WTChangeProposalMasterIdentity
extends wt.change2.ChangeIdentificationObject
implements Externalizable

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

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

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 WTChangeProposalIdentity object for the associated WTChangeProposal 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 WTChangeProposalIdentity object for the associated WTChangeProposal 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 WTChangeProposalIdentity object is responsible setting on a WTChangeProposal 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 WTChangeProposalIdentity object is responsible setting on a WTChangeProposal 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 proposal

Supported API: true

Parameters:
obj -

getIdentity

public String getIdentity()
Returns the number.

Supported API: true

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