|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.domain.State
public class State
Represents a state.
Field Summary | |
---|---|
static State |
APPROVED
|
static State |
PENDING
|
static State |
PUBLISHED
|
static State |
REJECTED
|
static State |
UNPUBLISHED
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Determines whether the specified object is equal to this one. |
java.lang.String |
getName()
Gets the name of this state. |
static State |
getState(java.lang.String name)
|
int |
hashCode()
Gets the hashcode of this object. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final State APPROVED
public static final State REJECTED
public static final State PENDING
public static final State UNPUBLISHED
public static final State PUBLISHED
Method Detail |
---|
public static State getState(java.lang.String name)
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare against
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |