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
EXTERNALIZATION_VERSION_UID, NAME, NUMBERFields inherited from interface wt.org._OrganizationOwnedIdentificationObjectNamespace
ORGANIZATION_REFERENCEFields inherited from interface wt.inf.container._WTContainerNamespace
CONTAINED_IDENTIFIED, CONTAINER_REFERENCE, NAMESPACE_REFERENCEFields inherited from interface wt.inf.container.WTContainerNamespace
NAMESPACE_ID -
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
getClassInfo, getConceptualClassname, getName, getNumber, readExternal, readVersion, setName, setNumber, super_readExternal_PromotionNoticeIdentity, super_readVersion_PromotionNoticeIdentity, super_writeExternal_PromotionNoticeIdentity, writeExternalMethods inherited from class wt.maturity.PromotionIdentificationObject
getKeyClassName, setAdditionalKeyAttributesMethods inherited from class wt.maturity._PromotionIdentificationObject
getContainedIdentified, getContainerReference, getNamespaceReference, getOrganizationReference, readVersion, setContainedIdentified, setContainerReference, setNamespaceReference, setOrganizationReference, super_readExternal_PromotionIdentificationObject, super_readVersion_PromotionIdentificationObject, super_writeExternal_PromotionIdentificationObjectMethods inherited from class wt.fc.IdentificationObject
changeIdentity, checkIdentity, createKey, getSemanticKey, initialize, toStringMethods inherited from class wt.fc._IdentificationObject
readVersion
-
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
-