Class Dict
java.lang.Object
io.github.xezzon.zeroweb.dict.domain.Dict
- All Implemented Interfaces:
io.github.xezzon.tao.dict.IDict
,io.github.xezzon.tao.tree.TreeNode<Dict,
,String> IEntity<String>
,II18nMessage
@Entity
public class Dict
extends Object
implements IEntity<String>, io.github.xezzon.tao.dict.IDict, io.github.xezzon.tao.tree.TreeNode<Dict,String>, II18nMessage
字典
字典是一组提供给用户选择的值。
- Author:
- xezzon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.xezzon.tao.dict.IDict
getCode, getLabel, getTag
Methods inherited from interface io.github.xezzon.zeroweb.locale.event.II18nMessage
eq
Methods inherited from interface io.github.xezzon.tao.tree.TreeNode
getChildren, getId, getParentId, isLeaf, setChildren
-
Field Details
-
DICT_TAG
- See Also:
-
DICT_I18N_NAMESPACE
- See Also:
-
-
Constructor Details
-
Dict
public Dict()
-
-
Method Details
-
getOrdinal
public int getOrdinal()- Specified by:
getOrdinal
in interfaceio.github.xezzon.tao.dict.IDict
-
getNamespace
- Specified by:
getNamespace
in interfaceII18nMessage
- Returns:
- 命名空间
-
getMessageKey
- Specified by:
getMessageKey
in interfaceII18nMessage
- Returns:
- 国际化内容
-