public class NYM
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static NYM |
ANONYMITY
The enumerated "anonymity" value.
|
static NYM |
PSEUDONYMITY
The enumerated "pseudonymity" value.
|
static NYM |
VERINYMITY
The enumerated "verinymity" value.
|
Constructor and Description |
---|
NYM(java.lang.String value)
Creates a new
NYM object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this
NYM object to the specified object. |
java.lang.String |
getValue()
Returns the value of this
NYM . |
int |
hashCode()
Returns the hash code for this instance.
|
java.lang.String |
toString()
Returns a description of this
NYM . |
public static final NYM ANONYMITY
public static final NYM VERINYMITY
public static final NYM PSEUDONYMITY
public NYM(java.lang.String value)
NYM
object.value
- The String
value of this NYM
.public java.lang.String getValue()
NYM
.public java.lang.String toString()
NYM
.toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
NYM
object to the specified object.equals
in class java.lang.Object
o
- The object to compare to.boolean
value.