orderentry.java
来自「Persistence Layer s ebook and source cod」· Java 代码 · 共 38 行
JAVA
38 行
package pl.criteria;
/**
* Entry for building ORDER BY clause.
* @author: Artyom Rudoy
*/
public class OrderEntry
{
private pl.map.AttributeMap attributeMap = null;
private boolean ascend = true;
/**
* OrderEntry constructor.
*/
public OrderEntry(pl.map.AttributeMap attributeMap, boolean ascend)
{
super();
this.attributeMap = attributeMap;
this.ascend = ascend;
}
/**
* Returns attribute map.
* @return pl.map.AttributeMap
*/
public pl.map.AttributeMap getAttributeMap()
{
return attributeMap;
}
/**
* Returns true if order is ascending or false if descending.
* @return boolean
*/
public boolean isAscend()
{
return ascend;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?