Package mc.core.model.i18n
Class DictionaryItem
java.lang.Object
mc.core.model.i18n.DictionaryItem
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumno property fields, used as parameter constant and label key -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetId()cascade=CascadeType.ALL to automatically save the resource with the iteminthashCode()voidsetDictionary(Dictionary dictionary) voidsetId(long id) voidsetItemKey(String itemKey) voidsetResource(Resource resource) WARNING: use only if entity is new (transient).toString()
-
Constructor Details
-
DictionaryItem
public DictionaryItem()
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getDictionary
-
setDictionary
-
getResource
cascade=CascadeType.ALL to automatically save the resource with the item -
setResource
WARNING: use only if entity is new (transient). will throw exception for persistent entity or resource -
getItemKey
-
setItemKey
-
equals
-
hashCode
public int hashCode() -
toString
-