|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.sequences.SequenceChangeEvent.Status
public static class SequenceChangeEvent.Status extends Object implements Serializable
Status of a SequenceChangeEvent
.
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
Constant for an error. |
static int |
INFORMATION
Constant for an information. |
static int |
NOTIFICATION
Constant for a notification. |
static int |
WARNING
Constant for a warning. |
Constructor and Description |
---|
SequenceChangeEvent.Status(int type,
String identifier)
Creates a new Status instance taking a type constant and an identifier of the instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one by comparing the value of property identifier . |
String |
getIdentifier()
Gets the identifier of status. |
int |
getType()
Gets the type of the status. |
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INFORMATION
public static final int NOTIFICATION
public static final int WARNING
public static final int ERROR
Constructor Detail |
---|
public SequenceChangeEvent.Status(int type, String identifier)
Status
instance taking a type constant and an identifier of the instance.
type
- The type of the new status.identifier
- The identifier of the status.Method Detail |
---|
public int getType()
public String getIdentifier()
public String toString()
toString
in class Object
public boolean equals(Object o)
identifier
.
equals
in class Object
o
- The reference object with which to compare.true
if this object is the same as the obj argument; false
otherwise.public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |