|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgpruitt.datamodeler.core.SortedColumn
public class SortedColumn
A SortedColumn is used to specify an ascending or descending sort order on a Column in an Index This class is immutable.
Column
,
Index
Field Summary | |
---|---|
protected Column |
column
|
protected boolean |
isAscending
|
Constructor Summary | |
---|---|
SortedColumn(Column column,
boolean isAscending)
Constructor |
Method Summary | |
---|---|
Column |
column()
Gets the Column |
boolean |
isAscending()
Gets the sort order |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Column column
protected final boolean isAscending
Constructor Detail |
---|
public SortedColumn(Column column, boolean isAscending)
column
- the ColumnisAscending
- true for ascending sort order, false for descendingMethod Detail |
---|
public Column column()
public boolean isAscending()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |