com.pecasim.base
Enum DOMAINTYPE
java.lang.Object
java.lang.Enum<DOMAINTYPE>
com.pecasim.base.DOMAINTYPE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DOMAINTYPE>
public enum DOMAINTYPE
- extends java.lang.Enum<DOMAINTYPE>
- Author:
- cbu
Beinhaltet die Domainenplatzhalter.
Method Summary |
static java.lang.String[] |
asStringArray()
Liefert alle PH-Namen |
java.lang.String |
getPlaceholder()
Liefert die Placeholder-Notation |
static DOMAINTYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DOMAINTYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final DOMAINTYPE UNKNOWN
PERSON
public static final DOMAINTYPE PERSON
HOUSEHOLD
public static final DOMAINTYPE HOUSEHOLD
REGION
public static final DOMAINTYPE REGION
COMPANY
public static final DOMAINTYPE COMPANY
DOMAIN1
public static final DOMAINTYPE DOMAIN1
DOMAIN2
public static final DOMAINTYPE DOMAIN2
DOMAIN3
public static final DOMAINTYPE DOMAIN3
DOMAIN4
public static final DOMAINTYPE DOMAIN4
DOMAIN5
public static final DOMAINTYPE DOMAIN5
values
public static final DOMAINTYPE[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(DOMAINTYPE c : DOMAINTYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static DOMAINTYPE valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
getPlaceholder
public java.lang.String getPlaceholder()
- Liefert die Placeholder-Notation
- Returns:
- String: != null
asStringArray
public static java.lang.String[] asStringArray()
- Liefert alle PH-Namen
- Returns:
- Array of Strings