Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.profiles
Class ProfileField.Type

java.lang.Object
  extended by com.jivesoftware.profiles.ProfileField.Type
Enclosing class:
ProfileField

public static final class ProfileField.Type
extends java.lang.Object

A typesafe enum class for ProfileField types.


Field Summary
static ProfileField.Type BOOLEAN
          Type representing a boolean type.
static ProfileField.Type DATETIME
          Type representing a date/time type.
static ProfileField.Type DECIMAL
          Type representing a decimal type.
static ProfileField.Type EMAIL
          Type representing a email type.
static ProfileField.Type LARGETEXT
          Type representing a textarea type.
static ProfileField.Type MULTILIST
          Type representing a multiselect type.
static ProfileField.Type NUMBER
          Type representing a number type.
static ProfileField.Type SINGLELIST
          Type representing a select type.
static ProfileField.Type TEXT
          Type representing a textfield type.
static ProfileField.Type URL
          Type representing a url 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.
 java.lang.String getName()
          Gets the name representing this type.
static ProfileField.Type getType(int ID)
          Gets an Type object from an typeID
static ProfileField.Type[] getTypes()
          Gets an array of all the possible profile field types.
 ProfileFieldValidator getValidator()
          Gets the profile field validator for this type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOLEAN

public static final ProfileField.Type BOOLEAN
Type representing a boolean type.


DATETIME

public static final ProfileField.Type DATETIME
Type representing a date/time type.


DECIMAL

public static final ProfileField.Type DECIMAL
Type representing a decimal type.


EMAIL

public static final ProfileField.Type EMAIL
Type representing a email type.


NUMBER

public static final ProfileField.Type NUMBER
Type representing a number type.


LARGETEXT

public static final ProfileField.Type LARGETEXT
Type representing a textarea type.


MULTILIST

public static final ProfileField.Type MULTILIST
Type representing a multiselect type.


SINGLELIST

public static final ProfileField.Type SINGLELIST
Type representing a select type.


TEXT

public static final ProfileField.Type TEXT
Type representing a textfield type.


URL

public static final ProfileField.Type URL
Type representing a url type.

Method Detail

getID

public int getID()
Gets the id representing this type.

Returns:
tthe id representing this type

getName

public java.lang.String getName()
Gets the name representing this type.

Returns:
the name representing this type.

getDisplayName

public java.lang.String getDisplayName()
Gets the displayName of this type.

Returns:
the description of this type

getDescription

public java.lang.String getDescription()
Gets the description of this type.

Returns:
the description of this type

getValidator

public ProfileFieldValidator getValidator()
Gets the profile field validator for this type

Returns:
the profile field validator for this type

getFormatter

public ProfileFieldFormatter getFormatter()
Gets the profile field formatter for this type

Returns:
the profile field formatter for this type

getType

public static ProfileField.Type getType(int ID)
Gets an Type object from an typeID

Parameters:
ID - the ID of the type
Returns:
the Type object of the specified ID

getTypes

public static ProfileField.Type[] getTypes()
Gets an array of all the possible profile field types.

Returns:
an array of all the possible profile field types

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.