|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DomainData.Role>
de.knipp.rritoolkit.DomainData.Role
public static enum DomainData.Role
enumeration for the different contact roles within the domain
Enum Constant Summary | |
---|---|
Admin
administrative contact |
|
Holder
holder |
|
Tech
technical contact |
|
Zone
zone contact |
Field Summary | |
---|---|
private java.lang.String |
denicToken
the DENIC token |
private static java.util.Map<java.lang.String,DomainData.Role> |
tokenMap
map from the token to the type |
Method Summary | |
---|---|
static DomainData.Role |
fromToken(java.lang.String denicToken)
return the role for the given token |
java.lang.String |
getDenicToken()
return the DENIC token |
static DomainData.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DomainData.Role[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DomainData.Role Holder
public static final DomainData.Role Admin
public static final DomainData.Role Tech
public static final DomainData.Role Zone
Field Detail |
---|
private java.lang.String denicToken
private static final java.util.Map<java.lang.String,DomainData.Role> tokenMap
Method Detail |
---|
public static DomainData.Role[] values()
for (DomainData.Role c : DomainData.Role.values()) System.out.println(c);
public static DomainData.Role valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDenicToken()
public static DomainData.Role fromToken(java.lang.String denicToken)
denicToken
- the token
null
if the
token is not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |