Save This Page
Home » displaytag-1.1.1-src » org » displaytag » properties » [javadoc | source]
org.displaytag.properties
public final class: SortOrderEnum [javadoc | source]
java.lang.Object
   org.displaytag.properties.SortOrderEnum
Enumeration for sort order.
Field Summary
public static final  SortOrderEnum DESCENDING    Sorted in descending order (1, "descending"). 
public static final  SortOrderEnum ASCENDING    Sorted in ascending order (2, "ascending"). 
static final  SortOrderEnum[] ALL    array containing all the export types. 
Method from org.displaytag.properties.SortOrderEnum Summary:
equals,   fromCode,   fromCode,   fromIntegerCode,   fromName,   getCode,   getName,   hashCode,   iterator,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.properties.SortOrderEnum Detail:
 public boolean equals(Object o) 
    Only a single instance of a specific enumeration can be created, so we can check using ==.
 public static SortOrderEnum fromCode(int key) 
    lookup a SortOrderEnum by key.
 public static SortOrderEnum fromCode(Integer key) 
    lookup a SortOrderEnum by an Integer key.
 public static SortOrderEnum fromIntegerCode(Integer key) 
Deprecated! use - fromCode(Integer)

    lookup a SortOrderEnum by an Integer key.
 public static SortOrderEnum fromName(String code) 
    Lookup a SortOrderEnum by a String key.
 public int getCode() 
    returns the int code.
 public String getName() 
    returns the description.
 public int hashCode() 
 public static Iterator iterator() 
    returns an iterator on all the enumerated instaces.
 public String toString() 
    returns the enumeration description.