public class SiteMessageModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CONTENT
Generated constant - Attribute key of
SiteMessage.content attribute defined at extension notificationservices. |
static java.lang.String |
EXTERNALITEM
Generated constant - Attribute key of
SiteMessage.externalItem attribute defined at extension notificationservices. |
static java.lang.String |
NOTIFICATIONTYPE
Generated constant - Attribute key of
SiteMessage.notificationType attribute defined at extension notificationservices. |
static java.lang.String |
TITLE
Generated constant - Attribute key of
SiteMessage.title attribute defined at extension notificationservices. |
static java.lang.String |
TYPE
Generated constant - Attribute key of
SiteMessage.type attribute defined at extension notificationservices. |
static java.lang.String |
UID
Generated constant - Attribute key of
SiteMessage.uid attribute defined at extension notificationservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
SiteMessageModel()
Generated constructor - Default constructor for generic creation.
|
SiteMessageModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
SiteMessageModel(ItemModel _owner,
SiteMessageType _type,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SiteMessageModel(SiteMessageType _type,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
Generated method - Getter of the
SiteMessage.content attribute defined at extension notificationservices. |
java.lang.String |
getContent(java.util.Locale loc)
Generated method - Getter of the
SiteMessage.content attribute defined at extension notificationservices. |
ItemModel |
getExternalItem()
Generated method - Getter of the
SiteMessage.externalItem attribute defined at extension notificationservices. |
NotificationType |
getNotificationType()
Generated method - Getter of the
SiteMessage.notificationType attribute defined at extension notificationservices. |
java.lang.String |
getTitle()
Generated method - Getter of the
SiteMessage.title attribute defined at extension notificationservices. |
java.lang.String |
getTitle(java.util.Locale loc)
Generated method - Getter of the
SiteMessage.title attribute defined at extension notificationservices. |
SiteMessageType |
getType()
Generated method - Getter of the
SiteMessage.type attribute defined at extension notificationservices. |
java.lang.String |
getUid()
Generated method - Getter of the
SiteMessage.uid attribute defined at extension notificationservices. |
void |
setContent(java.lang.String value)
Generated method - Setter of
SiteMessage.content attribute defined at extension notificationservices. |
void |
setContent(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
SiteMessage.content attribute defined at extension notificationservices. |
void |
setExternalItem(ItemModel value)
Generated method - Setter of
SiteMessage.externalItem attribute defined at extension notificationservices. |
void |
setNotificationType(NotificationType value)
Generated method - Setter of
SiteMessage.notificationType attribute defined at extension notificationservices. |
void |
setTitle(java.lang.String value)
Generated method - Setter of
SiteMessage.title attribute defined at extension notificationservices. |
void |
setTitle(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
SiteMessage.title attribute defined at extension notificationservices. |
void |
setType(SiteMessageType value)
Generated method - Setter of
SiteMessage.type attribute defined at extension notificationservices. |
void |
setUid(java.lang.String value)
Generated method - Setter of
SiteMessage.uid attribute defined at extension notificationservices. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String UID
SiteMessage.uid attribute defined at extension notificationservices.public static final java.lang.String TITLE
SiteMessage.title attribute defined at extension notificationservices.public static final java.lang.String CONTENT
SiteMessage.content attribute defined at extension notificationservices.public static final java.lang.String EXTERNALITEM
SiteMessage.externalItem attribute defined at extension notificationservices.public static final java.lang.String TYPE
SiteMessage.type attribute defined at extension notificationservices.public static final java.lang.String NOTIFICATIONTYPE
SiteMessage.notificationType attribute defined at extension notificationservices.public SiteMessageModel()
public SiteMessageModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public SiteMessageModel(SiteMessageType _type, java.lang.String _uid)
_type - initial attribute declared by type SiteMessage at extension notificationservices_uid - initial attribute declared by type SiteMessage at extension notificationservices@Deprecated public SiteMessageModel(ItemModel _owner, SiteMessageType _type, java.lang.String _uid)
_owner - initial attribute declared by type Item at extension core_type - initial attribute declared by type SiteMessage at extension notificationservices_uid - initial attribute declared by type SiteMessage at extension notificationservices@Accessor(qualifier="content", type=GETTER) public java.lang.String getContent()
SiteMessage.content attribute defined at extension notificationservices.@Accessor(qualifier="content", type=GETTER) public java.lang.String getContent(java.util.Locale loc)
SiteMessage.content attribute defined at extension notificationservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="externalItem", type=GETTER) public ItemModel getExternalItem()
SiteMessage.externalItem attribute defined at extension notificationservices.@Accessor(qualifier="notificationType", type=GETTER) public NotificationType getNotificationType()
SiteMessage.notificationType attribute defined at extension notificationservices.@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
SiteMessage.title attribute defined at extension notificationservices.@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle(java.util.Locale loc)
SiteMessage.title attribute defined at extension notificationservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="type", type=GETTER) public SiteMessageType getType()
SiteMessage.type attribute defined at extension notificationservices.@Accessor(qualifier="uid", type=GETTER) public java.lang.String getUid()
SiteMessage.uid attribute defined at extension notificationservices.@Accessor(qualifier="content", type=SETTER) public void setContent(java.lang.String value)
SiteMessage.content attribute defined at extension notificationservices.value - the content@Accessor(qualifier="content", type=SETTER) public void setContent(java.lang.String value, java.util.Locale loc)
SiteMessage.content attribute defined at extension notificationservices.value - the contentloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="externalItem", type=SETTER) public void setExternalItem(ItemModel value)
SiteMessage.externalItem attribute defined at extension notificationservices.value - the externalItem@Accessor(qualifier="notificationType", type=SETTER) public void setNotificationType(NotificationType value)
SiteMessage.notificationType attribute defined at extension notificationservices.value - the notificationType@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
SiteMessage.title attribute defined at extension notificationservices.value - the title@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value, java.util.Locale loc)
SiteMessage.title attribute defined at extension notificationservices.value - the titleloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="type", type=SETTER) public void setType(SiteMessageType value)
SiteMessage.type attribute defined at extension notificationservices.value - the typeCopyright © 2018 SAP SE. All Rights Reserved.