Package wt.maturity
Class PromotionNoticeIdentity
java.lang.Object
wt.fc._IdentificationObject
wt.fc.IdentificationObject
wt.maturity._PromotionIdentificationObject
wt.maturity.PromotionIdentificationObject
wt.maturity._PromotionNoticeIdentity
wt.maturity.PromotionNoticeIdentity
- 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.maturity.PromotionIdentificationObject.class,interfaces=java.io.Externalizable.class,extendable=true,versions=-8057065201350199698L,properties={@GeneratedProperty(name="number",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="A unique number assigned by this PromotionNoticeIdentity object for the associated PromotionNotice object when it is stored in the database.",constraints=@PropertyConstraints(changeable=VIA_OTHER_MEANS)),@GeneratedProperty(name="name",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The end-user provided name that this PromotionNoticeIdentity object is responsible setting on a PromotionNotice object at the request of the Identity Service.",constraints=@PropertyConstraints(upperLimit=160))})
public class PromotionNoticeIdentity
extends _PromotionNoticeIdentity
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:
-
Field Summary
Fields inherited from class wt.maturity._PromotionNoticeIdentity
NAME, NUMBERFields inherited from interface wt.org._OrganizationOwnedIdentificationObjectNamespace
ORGANIZATION_REFERENCE -
Method Summary
Modifier and TypeMethodDescriptionReturns the number.static PromotionNoticeIdentitynewPromotionNoticeIdentity(PromotionNotice promotionNotice) Constructs an instance of this class.protected voidsetToObject(Identified obj) Sets the name to the given PromotionNotice
Supported API: trueMethods inherited from class wt.maturity._PromotionNoticeIdentity
getName, getNumber, setName, setNumberMethods inherited from class wt.maturity._PromotionIdentificationObject
getOrganizationReference, setOrganizationReferenceMethods inherited from class wt.fc.IdentificationObject
getSemanticKey, initialize
-
Method Details
-
setToObject
Sets the name to the given PromotionNotice
Supported API: true- Specified by:
setToObjectin classIdentificationObject- Parameters:
obj-- Throws:
WTException
-
getIdentity
Returns the number.
Supported API: true- Specified by:
getIdentityin classIdentificationObject- Returns:
- String
-
newPromotionNoticeIdentity
public static PromotionNoticeIdentity newPromotionNoticeIdentity(PromotionNotice promotionNotice) throws WTException Constructs an instance of this class.
Supported API: true- Parameters:
promotionNotice-- Returns:
- PromotionNoticeIdentity
- Throws:
WTException
-