public class BaseObjectImpl<K extends Comparable<K>> extends Object implements BaseObject<K>
Constructor and Description |
---|
BaseObjectImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
返回描述
|
K |
getId()
返回标识
|
String |
getName()
返回名字
|
int |
getOrder()
返回排序
|
String |
getTitle()
返回标题
|
void |
setDescription(String description)
设置描述
|
void |
setId(K id)
设置标识
|
void |
setName(String name)
设置名字
|
void |
setOrder(int order)
设置排序
|
void |
setTitle(String title)
设置标题
|
public K getId()
BaseObject
getId
in interface BaseObject<K extends Comparable<K>>
public void setId(K id)
BaseObject
setId
in interface BaseObject<K extends Comparable<K>>
public int getOrder()
BaseObject
getOrder
in interface BaseObject<K extends Comparable<K>>
public void setOrder(int order)
BaseObject
setOrder
in interface BaseObject<K extends Comparable<K>>
public String getName()
BaseObject
getName
in interface BaseObject<K extends Comparable<K>>
public void setName(String name)
BaseObject
setName
in interface BaseObject<K extends Comparable<K>>
public String getTitle()
BaseObject
getTitle
in interface BaseObject<K extends Comparable<K>>
public void setTitle(String title)
BaseObject
setTitle
in interface BaseObject<K extends Comparable<K>>
public String getDescription()
BaseObject
getDescription
in interface BaseObject<K extends Comparable<K>>
public void setDescription(String description)
BaseObject
setDescription
in interface BaseObject<K extends Comparable<K>>
Copyright © 2006–2018 TinyGroup. All rights reserved.