public class Contact
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Contact |
ADMINISTRATIVE
Indicates an administrative contact
|
static Contact |
BILLING
Indicates a billing contact
|
static Contact |
OTHER
Indicates an other contact
|
static Contact |
SUPPORT
Indicates a support contact
|
static Contact |
TECHNICAL
Indicates a technical contact
|
Constructor and Description |
---|
Contact(java.lang.String value)
Creates a new
Contact object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares this
Contact object to the specified object. |
java.lang.String |
getValue()
Returns the value of this
Contact . |
int |
hashCode()
Returns the hash code for this instance.
|
java.lang.String |
toString()
Returns a description of this
Contact . |
public static final Contact TECHNICAL
public static final Contact SUPPORT
public static final Contact ADMINISTRATIVE
public static final Contact BILLING
public static final Contact OTHER
public Contact(java.lang.String value)
Contact
object.value
- The String value.public java.lang.String getValue()
Contact
.public java.lang.String toString()
Contact
.toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
Contact
object to the specified object.equals
in class java.lang.Object
o
- The object to compare to.boolean
value.