|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.common.SortOrder
Defines sort order types used by the common controls framework
Field Summary | |
private static SortOrder[] |
ALL
collection with all kinds of sort orders |
static SortOrder |
ASCENDING
sort: ASCENDING |
static SortOrder |
DESCENDING
sort: DESCENDING |
private java.lang.String |
name
display value / nice name |
static SortOrder |
NONE
sort: NONE |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
type
identifier / key / type |
Constructor Summary | |
private |
SortOrder(java.lang.String type,
java.lang.String name)
Constructor for SortOrder |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this type to the specified object. |
java.lang.String |
getCode()
Gets the internal type |
java.lang.String |
getName()
Returns the name. |
int |
hashCode()
|
static SortOrder |
parse(java.lang.String code)
Creates for the argument an Object of type SortOrder |
java.lang.String |
toString()
Returns the Key |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final SortOrder NONE
public static final SortOrder ASCENDING
public static final SortOrder DESCENDING
private java.lang.String type
private java.lang.String name
private static final SortOrder[] ALL
Constructor Detail |
private SortOrder(java.lang.String type, java.lang.String name)
type
- Keyname
- ValueMethod Detail |
public java.lang.String toString()
public static SortOrder parse(java.lang.String code)
code
- String to parse
public java.lang.String getCode()
public java.lang.String getName()
public boolean equals(java.lang.Object obj)
obj
- The object to compare this SortOrder
object against.
true
if the internal types are equal;
false
otherwise.public int hashCode()
Object.hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |