wt.maturity
Class PromotionNoticeIdentity

java.lang.Object
  extended by wt.fc.IdentificationObject
      extended by wt.maturity.PromotionIdentificationObject
          extended by wt.maturity.PromotionNoticeIdentity
All Implemented Interfaces:
Externalizable, Serializable, wt.fc.IdentificationObjectNamespace, NetFactor, WTContainerNamespace, OrganizationOwnedIdentificationObjectNamespace

public class PromotionNoticeIdentity
extends wt.maturity.PromotionIdentificationObject
implements Externalizable

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

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

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 PromotionNoticeIdentity object for the associated PromotionNotice 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 PromotionNoticeIdentity object for the associated PromotionNotice 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 PromotionNoticeIdentity object is responsible setting on a PromotionNotice 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 PromotionNoticeIdentity object is responsible setting on a PromotionNotice object at the request of the Identity Service.

Supported API: true

Parameters:
a_Name -
Throws:
WTPropertyVetoException

setToObject

protected void setToObject(Identified obj)
                    throws WTException
Sets the name to the given PromotionNotice

Supported API: true

Parameters:
obj -
Throws:
WTException

getIdentity

public String getIdentity()
Returns the number.

Supported API: true

Returns:
String