|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DocumentFieldType.DataType>
com.jivesoftware.community.DocumentFieldType.DataType
public static enum DocumentFieldType.DataType
Represents the XMPP data form field type.
| Enum Constant Summary | |
|---|---|
BOOLEAN
The field enables an entity to gather or provide an either-or choice between two options. |
|
FIXED
The field is intended for data description (e.g., human-readable text such as "section" headers) rather than data gathering or provision. |
|
HIDDEN
The field is not shown to the entity providing information, but instead is returned with the form. |
|
JID_MULTI
The field enables an entity to gather or provide multiple Jabber IDs. |
|
JID_SINGLE
The field enables an entity to gather or provide a single Jabber ID. |
|
LIST_MULTI
The field enables an entity to gather or provide one or more options from among many. |
|
LIST_SINGLE
The field enables an entity to gather or provide one option from among many. |
|
TEXT_MULTI
The field enables an entity to gather or provide multiple lines of text. |
|
TEXT_PRIVATE
The field enables an entity to gather or provide a single line or word of text, which shall be obscured in an interface (e.g., *****). |
|
TEXT_SINGLE
The field enables an entity to gather or provide a single line or word of text, which may be shown in an interface. |
|
| Method Summary | |
|---|---|
static DocumentFieldType.DataType |
getDataType(long dataTypeID)
Used to acquire a DataType with a specific data type ID. |
int |
getId()
|
String |
getName()
|
String |
toString()
Simply returns the name (via getName()) since that is unique. |
static DocumentFieldType.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DocumentFieldType.DataType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DocumentFieldType.DataType BOOLEAN
public static final DocumentFieldType.DataType FIXED
public static final DocumentFieldType.DataType HIDDEN
public static final DocumentFieldType.DataType JID_MULTI
public static final DocumentFieldType.DataType JID_SINGLE
public static final DocumentFieldType.DataType LIST_MULTI
public static final DocumentFieldType.DataType LIST_SINGLE
public static final DocumentFieldType.DataType TEXT_MULTI
public static final DocumentFieldType.DataType TEXT_PRIVATE
public static final DocumentFieldType.DataType TEXT_SINGLE
| Method Detail |
|---|
public static final DocumentFieldType.DataType[] values()
for(DocumentFieldType.DataType c : DocumentFieldType.DataType.values())
System.out.println(c);
public static DocumentFieldType.DataType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic String getName()
public int getId()
public String toString()
getName()) since that is unique.
toString in class Enum<DocumentFieldType.DataType>public static DocumentFieldType.DataType getDataType(long dataTypeID)
dataTypeID - ID of the type
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||