com.jurismarches.vradi.entities
Enum FieldTypeEnum
java.lang.Object
java.lang.Enum<FieldTypeEnum>
com.jurismarches.vradi.entities.FieldTypeEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FieldTypeEnum>
public enum FieldTypeEnum
- extends java.lang.Enum<FieldTypeEnum>
- Author:
- letellier
|
Field Summary |
protected java.lang.String |
TAG_VALUE
|
protected java.lang.String |
tagValue
|
protected org.sharengo.wikitty.FieldType |
type
|
|
Method Summary |
org.sharengo.wikitty.FieldType |
getFieldType()
|
java.lang.String |
getTagValue()
|
boolean |
isType(org.sharengo.wikitty.FieldType type)
|
java.lang.String |
toString()
|
static FieldTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FieldTypeEnum[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
STRING
public static final FieldTypeEnum STRING
TEXT
public static final FieldTypeEnum TEXT
DATE
public static final FieldTypeEnum DATE
EMAIL
public static final FieldTypeEnum EMAIL
URL
public static final FieldTypeEnum URL
NUMBER
public static final FieldTypeEnum NUMBER
TAG_VALUE
protected java.lang.String TAG_VALUE
tagValue
protected java.lang.String tagValue
type
protected org.sharengo.wikitty.FieldType type
values
public static FieldTypeEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FieldTypeEnum c : FieldTypeEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FieldTypeEnum 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
java.lang.NullPointerException - if the argument is null
getTagValue
public java.lang.String getTagValue()
getFieldType
public org.sharengo.wikitty.FieldType getFieldType()
isType
public boolean isType(org.sharengo.wikitty.FieldType type)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<FieldTypeEnum>
Copyright © 2009 JurisMarches. All Rights Reserved.