Package com.podio.app
Enum ApplicationFieldType
- java.lang.Object
-
- java.lang.Enum<ApplicationFieldType>
-
- com.podio.app.ApplicationFieldType
-
- All Implemented Interfaces:
Serializable,Comparable<ApplicationFieldType>
public enum ApplicationFieldType extends Enum<ApplicationFieldType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPA reference to another app item.CALCULATIONA calculation based on fields in the same or related appsCATEGORYA category field with multiple valuesCONTACTHolds a reference to a profile, which can be either a member or a contactDATEA interval presented by a start and optional end date and optional timeDURATIONA duration field specified in seconds but often displayed in hours, minutes, seconds.EMAILAn Email field to hold email addressesEMBEDA list of embedsFILEA generic file field to hold many kinds of filesIMAGEHolds an image.LOCATIONA location in f.ex.MEMBERReference a member in the same space as the appMONEYA currency valueNUMBERA field that can hold a single number with decimals.PHONEA telephone field to hold telephone numbers properly formattedPROGRESSThe progress of an app item.TELTel fieldTEXTA short text field that can hold a stringVIDEOAn uploaded video file.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationFieldTypegetByName(String value)StringtoString()static ApplicationFieldTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ApplicationFieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final ApplicationFieldType TEXT
A short text field that can hold a string
-
NUMBER
public static final ApplicationFieldType NUMBER
A field that can hold a single number with decimals.
-
IMAGE
public static final ApplicationFieldType IMAGE
Holds an image. Can currently only be used internally by Hoist.
-
DATE
public static final ApplicationFieldType DATE
A interval presented by a start and optional end date and optional time
-
APP
public static final ApplicationFieldType APP
A reference to another app item.
-
MEMBER
public static final ApplicationFieldType MEMBER
Reference a member in the same space as the app
-
MONEY
public static final ApplicationFieldType MONEY
A currency value
-
PROGRESS
public static final ApplicationFieldType PROGRESS
The progress of an app item.
-
LOCATION
public static final ApplicationFieldType LOCATION
A location in f.ex. Google maps
-
VIDEO
public static final ApplicationFieldType VIDEO
An uploaded video file. Can currently only be used by Hoist.
-
DURATION
public static final ApplicationFieldType DURATION
A duration field specified in seconds but often displayed in hours, minutes, seconds.
-
CONTACT
public static final ApplicationFieldType CONTACT
Holds a reference to a profile, which can be either a member or a contact
-
CALCULATION
public static final ApplicationFieldType CALCULATION
A calculation based on fields in the same or related apps
-
EMBED
public static final ApplicationFieldType EMBED
A list of embeds
-
CATEGORY
public static final ApplicationFieldType CATEGORY
A category field with multiple values
-
FILE
public static final ApplicationFieldType FILE
A generic file field to hold many kinds of files
-
PHONE
public static final ApplicationFieldType PHONE
A telephone field to hold telephone numbers properly formatted
-
EMAIL
public static final ApplicationFieldType EMAIL
An Email field to hold email addresses
-
TEL
public static final ApplicationFieldType TEL
Tel field
-
-
Method Detail
-
values
public static ApplicationFieldType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ApplicationFieldType c : ApplicationFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationFieldType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<ApplicationFieldType>
-
getByName
public static ApplicationFieldType getByName(String value)
-
-