Class DictionaryItem

java.lang.Object
mc.core.model.i18n.DictionaryItem
All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity

@Entity public class DictionaryItem extends Object implements IBaseEntity
See Also:
  • Constructor Details

    • DictionaryItem

      public DictionaryItem()
  • Method Details

    • getId

      public long getId()
      Specified by:
      getId in interface IBaseEntity
    • setId

      public void setId(long id)
      Specified by:
      setId in interface IBaseEntity
    • getDictionary

      public Dictionary getDictionary()
    • setDictionary

      public void setDictionary(Dictionary dictionary)
    • getResource

      public Resource getResource()
      cascade=CascadeType.ALL to automatically save the resource with the item
    • setResource

      public void setResource(Resource resource)
      WARNING: use only if entity is new (transient). will throw exception for persistent entity or resource
    • getItemKey

      public String getItemKey()
    • setItemKey

      public void setItemKey(String itemKey)
    • equals

      public boolean equals(Object another)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object