public static enum DocumentNoteField.Types extends Enum<DocumentNoteField.Types>
DocumentNoteField.createEnumeratedNoteField(String[], String, String, String, boolean)| Enum Constant and Description |
|---|
date |
decimal |
enumeration |
integer |
text |
trueFalse |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Getter for the description property of this field type.
|
String |
getName()
Getter for the name property of this field type.
|
static DocumentNoteField.Types |
getTypeFor(DocumentNoteField documentNoteField)
Returns the Types object for this documentNoteField.
|
Class |
getValueType()
Returns the class of the value that this note field represents.
|
String |
toString()
Returns the name of this Types object.
|
static DocumentNoteField.Types |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentNoteField.Types[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentNoteField.Types text
public static final DocumentNoteField.Types trueFalse
public static final DocumentNoteField.Types integer
public static final DocumentNoteField.Types decimal
public static final DocumentNoteField.Types date
public static final DocumentNoteField.Types enumeration
public static DocumentNoteField.Types[] values()
for (DocumentNoteField.Types c : DocumentNoteField.Types.values()) System.out.println(c);
public static DocumentNoteField.Types valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic Class getValueType()
public String getName()
public String getDescription()
public static DocumentNoteField.Types getTypeFor(DocumentNoteField documentNoteField)
documentNoteField - to get the type forTypes object matching this documentNoteField.public String toString()
toString in class Enum<DocumentNoteField.Types>