public abstract class EnumerationType extends Object
public final static
instances of the subclass,
within the subclass definition, as there are enumeration cases.
No other instances of an EnumerationType should ever be created,
and the only operations which should ever be performed on an
EnumerationType are assignment and equality testing.Modifier | Constructor and Description |
---|---|
protected |
EnumerationType(String value)
Instantiate an EnumerationType object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EnumerationType enm)
Type equality test.
|
String |
toString()
Return enumeration value.
|
protected EnumerationType(String value)
value
- Enumeration valuepublic boolean equals(EnumerationType enm)
enm
- Enumerated typeCopyright © 2008–2017 The Open Preservation Foundation. All rights reserved.