@Entity(name="sec$LocalizedConstraintMessage") public class LocalizedConstraintMessage extends StandardEntity
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CAPTION_KEY |
protected java.lang.String |
entityName |
protected static java.lang.String |
MESSAGE_KEY |
protected java.lang.String |
operationType |
protected java.lang.String |
values |
createdBy, createTs, deletedBy, deleteTs, updatedBy, updateTs, version
id
__securityState, __state, dynamicAttributes
__propertyChangeListeners, _persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup, PROPERTY_CHANGE_LISTENERS_INITIAL_CAPACITY
Constructor and Description |
---|
LocalizedConstraintMessage() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEntityName() |
java.lang.String |
getLocalizedCaption(java.lang.String localeCode)
Returns caption value for given locale code.
|
java.lang.String |
getLocalizedMessage(java.lang.String localeCode)
Returns message value for given locale code.
|
ConstraintOperationType |
getOperationType() |
protected java.lang.String |
getValue(java.lang.String localeCode,
java.lang.String key) |
java.lang.String |
getValues() |
void |
putLocalizedCaption(java.lang.String localeCode,
java.lang.String value)
Puts caption value with given locale code.
|
void |
putLocalizedMessage(java.lang.String localeCode,
java.lang.String value)
Puts message value with given locale code.
|
protected void |
putValue(java.lang.String localeCode,
java.lang.String key,
java.lang.String value) |
void |
setEntityName(java.lang.String entityName) |
void |
setOperationType(ConstraintOperationType operationType) |
void |
setValues(java.lang.String values) |
getCreatedBy, getCreateTs, getDeletedBy, getDeleteTs, getUpdatedBy, getUpdateTs, getVersion, isDeleted, setCreatedBy, setCreateTs, setDeletedBy, setDeleteTs, setUpdatedBy, setUpdateTs, setVersion
getId, getUuid, setId, setUuid
copySystemState, equals, getDynamicAttributes, getMetaClass, getValue, hashCode, setDynamicAttributes, setValue, toString
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getLinks, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_new, _persistence_post_clone, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setLinks, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, addPropertyChangeListener, getInstanceName, getMethodsCache, getValueEx, getValueEx, propertyChanged, removeAllListeners, removePropertyChangeListener, setValue, setValueEx, setValueEx
protected static final java.lang.String CAPTION_KEY
protected static final java.lang.String MESSAGE_KEY
protected java.lang.String entityName
protected java.lang.String operationType
protected java.lang.String values
public java.lang.String getEntityName()
public void setEntityName(java.lang.String entityName)
public ConstraintOperationType getOperationType()
public void setOperationType(ConstraintOperationType operationType)
public java.lang.String getValues()
public void setValues(java.lang.String values)
@Nullable protected java.lang.String getValue(java.lang.String localeCode, java.lang.String key)
protected void putValue(java.lang.String localeCode, java.lang.String key, java.lang.String value)
@Nullable public java.lang.String getLocalizedCaption(java.lang.String localeCode)
localeCode
- the locale codepublic void putLocalizedCaption(java.lang.String localeCode, java.lang.String value)
localeCode
- the locale codevalue
- the value to add@Nullable public java.lang.String getLocalizedMessage(java.lang.String localeCode)
localeCode
- the locale codepublic void putLocalizedMessage(java.lang.String localeCode, java.lang.String value)
localeCode
- the locale codevalue
- the value to put