com.github.dactiv.showcase.entity.foundation.variable
类 DictionaryCategory

java.lang.Object
  继承者 com.github.dactiv.showcase.entity.IdEntity
      继承者 com.github.dactiv.showcase.entity.foundation.variable.DictionaryCategory
所有已实现的接口:
Serializable

@Entity
public class DictionaryCategory
extends IdEntity

字典类别实体

作者:
maurice
另请参见:
序列化表格

字段摘要
 
从类 com.github.dactiv.showcase.entity.IdEntity 继承的字段
id
 
构造方法摘要
DictionaryCategory()
           
 
方法摘要
 List<DictionaryCategory> getChildren()
          获取所有叶子节点
 String getCode()
          获取代码
 List<DataDictionary> getDataDictionariesList()
          获取拥有的数据字典集合
 Boolean getLeaf()
          获取是否包含叶子节点,如果是返回ture,否则返回false
 String getName()
          获取名称
 DictionaryCategory getParent()
          获取父类节点
 String getParentId()
          获取父类ID
 String getParentName()
          获取父类名称
 String getRemark()
          获取备注
 void setChildren(List<DictionaryCategory> children)
          设置叶子节点
 void setCode(String code)
          设置代码
 void setDataDictionariesList(List<DataDictionary> dataDictionariesList)
          设置拥有的数据字典集合
 void setLeaf(Boolean leaf)
          设置是否包含叶子节点
 void setName(String name)
          设置名称
 void setParent(DictionaryCategory parent)
          设置父类节点
 void setRemark(String remark)
          设置备注
 
从类 com.github.dactiv.showcase.entity.IdEntity 继承的方法
getId, setId
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DictionaryCategory

public DictionaryCategory()
方法详细信息

getName

@NotEmpty
@Length(max=256)
public String getName()
获取名称

返回:
String

setName

public void setName(String name)
设置名称

参数:
name - 名称

getCode

@NotEmpty
@Length(max=128)
public String getCode()
获取代码

返回:
String

setCode

public void setCode(String code)
设置代码

参数:
code - 代码

getRemark

@Length(max=512)
public String getRemark()
获取备注

返回:
String

setRemark

public void setRemark(String remark)
设置备注

参数:
remark -

getDataDictionariesList

public List<DataDictionary> getDataDictionariesList()
获取拥有的数据字典集合

返回:
List

setDataDictionariesList

public void setDataDictionariesList(List<DataDictionary> dataDictionariesList)
设置拥有的数据字典集合

参数:
dataDictionariesList - 数据字典集合

getChildren

public List<DictionaryCategory> getChildren()
获取所有叶子节点

返回:
List

setChildren

public void setChildren(List<DictionaryCategory> children)
设置叶子节点

参数:
children - 叶子节点

getParent

public DictionaryCategory getParent()
获取父类节点

返回:
DictionaryCategory

setParent

public void setParent(DictionaryCategory parent)
设置父类节点

参数:
parent - 父类节点

getLeaf

public Boolean getLeaf()
获取是否包含叶子节点,如果是返回ture,否则返回false

返回:
Boolean

setLeaf

public void setLeaf(Boolean leaf)
设置是否包含叶子节点

参数:
leaf - 如果是返回ture,否则返回false

getParentName

public String getParentName()
获取父类名称

返回:
String

getParentId

public String getParentId()
获取父类ID

返回:
String


Copyright © 2014. All rights reserved.