org.sequalite.generator
Enum POJODefTag
java.lang.Object
java.lang.Enum<POJODefTag>
org.sequalite.generator.POJODefTag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<POJODefTag>
public enum POJODefTag
- extends java.lang.Enum<POJODefTag>
Method Summary |
java.lang.String |
tag()
|
static POJODefTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static POJODefTag[] |
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 |
MEMBER_DEF
public static final POJODefTag MEMBER_DEF
GETTER_DEF
public static final POJODefTag GETTER_DEF
SETTER_DEF
public static final POJODefTag SETTER_DEF
CHILD_MEMBER_DEF
public static final POJODefTag CHILD_MEMBER_DEF
CHILD_GETTER_DEF
public static final POJODefTag CHILD_GETTER_DEF
CHILD_GETTER_DEF_LAZY
public static final POJODefTag CHILD_GETTER_DEF_LAZY
CHILD_SETTER_DEF
public static final POJODefTag CHILD_SETTER_DEF
CHILD_MEMBER_DEF_SINGLE
public static final POJODefTag CHILD_MEMBER_DEF_SINGLE
CHILD_GETTER_DEF_SINGLE
public static final POJODefTag CHILD_GETTER_DEF_SINGLE
CHILD_GETTER_DEF_SINGLE_LAZY
public static final POJODefTag CHILD_GETTER_DEF_SINGLE_LAZY
CHILD_SETTER_DEF_SINGLE
public static final POJODefTag CHILD_SETTER_DEF_SINGLE
CLASS_DEF
public static final POJODefTag CLASS_DEF
CLASS_DEF_LAZY
public static final POJODefTag CLASS_DEF_LAZY
values
public static final POJODefTag[] 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(POJODefTag c : POJODefTag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static POJODefTag 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
tag
public java.lang.String tag()