public class OsidEnumeration
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
OsidEnumeration(java.lang.String name)
Creates a new
OsidEnumeration . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Gets the name of this enumeratioan.
|
int |
hashCode() |
boolean |
isDeprecated()
Tests if the enumeration is specified as deprecated.
|
boolean |
isNew()
Tests if the enumeration is specified as new.
|
protected void |
setDeprecated(java.lang.String asOf) |
protected void |
setNew(java.lang.String asOf) |
protected OsidEnumeration(java.lang.String name)
OsidEnumeration
.name
- the enumeration namepublic java.lang.String getName()
public boolean isDeprecated()
true
if the enumeration is deprecated,
false
otherwiseprotected void setDeprecated(java.lang.String asOf)
public boolean isNew()
true
if the enumeration is new,
false
otherwiseprotected void setNew(java.lang.String asOf)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object