|
Clearspace API (1.10.16) 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<ProfileField.Type>
com.jivesoftware.community.ProfileField.Type
public static enum ProfileField.Type
A typesafe enum class for ProfileField types.
| Enum Constant Summary | |
|---|---|
BOOLEAN
Type representing a boolean type. |
|
DATETIME
Type representing a date/time type. |
|
DECIMAL
Type representing a decimal type. |
|
EMAIL
Type representing a email type. |
|
LARGETEXT
Type representing a textarea type. |
|
MULTILIST
Type representing a multiselect type. |
|
NUMBER
Type representing a number type. |
|
PHONE_NUMBER
Type representing a phone number type. |
|
SINGLELIST
Type representing a select type. |
|
TEXT
Type representing a textfield type. |
|
URL
Type representing a url type. |
|
ZIP_CODE
Type representing a zip code type. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description of this type. |
java.lang.String |
getDisplayName()
Gets the displayName of this type. |
ProfileFieldFormatter |
getFormatter()
Gets the profile field formatter for this type |
int |
getID()
Gets the id representing this type. |
DocumentFieldValidator |
getValidator()
Gets the profile field validator for this type |
static ProfileField.Type |
valueOf(int ID)
Gets an Type object from an typeID |
static ProfileField.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ProfileField.Type[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ProfileField.Type BOOLEAN
public static final ProfileField.Type DATETIME
public static final ProfileField.Type DECIMAL
public static final ProfileField.Type EMAIL
public static final ProfileField.Type NUMBER
public static final ProfileField.Type LARGETEXT
public static final ProfileField.Type MULTILIST
public static final ProfileField.Type SINGLELIST
public static final ProfileField.Type TEXT
public static final ProfileField.Type URL
public static final ProfileField.Type PHONE_NUMBER
public static final ProfileField.Type ZIP_CODE
| Method Detail |
|---|
public static final ProfileField.Type[] values()
for(ProfileField.Type c : ProfileField.Type.values())
System.out.println(c);
public static ProfileField.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getID()
public java.lang.String getDisplayName()
public java.lang.String getDescription()
public DocumentFieldValidator getValidator()
public ProfileFieldFormatter getFormatter()
public static ProfileField.Type valueOf(int ID)
ID - the 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 | |||||||||