|
Jive API (3.0.13) 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.user.profile.ProfileField.Type
public static enum ProfileField.Type
A typesafe enum class for ProfileField types.
| Enum Constant Summary | |
|---|---|
ADDRESS
Type representing an address |
|
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 | |
|---|---|
TypeConverter |
getConverter()
Gets the field value type converter for this type. |
String |
getDescription()
Gets the description of this type. |
String |
getDisplayName()
Gets the displayName of this type. |
int |
getID()
Gets the id representing this type. |
String |
getName()
|
boolean |
isSupportsList()
Returns true if this type can be a list of values rather than a single value |
boolean |
isSupportsMapping()
Returns true if this type can be managed externally via LDAP |
static ProfileField.Type |
valueOf(int ID)
Gets an Type object from an typeID |
static ProfileField.Type |
valueOf(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
public static final ProfileField.Type ADDRESS
| Method Detail |
|---|
public static final ProfileField.Type[] values()
for(ProfileField.Type c : ProfileField.Type.values())
System.out.println(c);
public static ProfileField.Type 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 int getID()
public String getName()
public String getDisplayName()
public String getDescription()
public boolean isSupportsMapping()
public boolean isSupportsList()
public TypeConverter getConverter()
public static ProfileField.Type valueOf(int ID)
ID - the ID of the type
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||