public final class EnumerationImpl extends Object implements Serializable, Comparable<EnumerationImpl>
Constructor and Description |
---|
EnumerationImpl(EnumerationType type,
String constant)
Constructs an enumeration.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EnumerationImpl o) |
boolean |
equals(Object obj) |
String |
getConstant()
Returns the enumeration constant (literal).
|
EnumerationType |
getType()
Returns the enumeration type.
|
int |
hashCode() |
String |
toString() |
public EnumerationImpl(EnumerationType type, String constant)
type
- constant
- public EnumerationType getType()
public String getConstant()
public int compareTo(EnumerationImpl o)
compareTo
in interface Comparable<EnumerationImpl>
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.