Package com.podio.contact
Class ProfileField<F,R>
- java.lang.Object
-
- com.podio.contact.ProfileField<F,R>
-
public abstract class ProfileField<F,R> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ProfileField<String,String>ABOUTShort text about the personstatic ProfileField<String,String>ADDRESSThe address where the person lives or workstatic ProfileField<Integer,Integer>AVATARThe file id of the avatarstatic ProfileField<org.joda.time.LocalDate,String>BIRTHDATEThe birthdatestatic ProfileField<String,String>IMAny instant messaging addressstatic ProfileField<String,String>LOCATIONThe location of the personstatic ProfileField<String,String>MAILEmail addressstatic ProfileField<String,String>NAMEThe full namestatic ProfileField<String,String>ORGANIZATIONThe organization or company the person is associated withstatic ProfileField<String,String>PHONEThe phone numberstatic ProfileField<String,String>SKYPEThe username for Skypestatic ProfileField<String,String>TITLEThe persons title, usually the work titlestatic ProfileField<String,String>URLAn URL to the persons homepage or the homepage of the company
-
Constructor Summary
Constructors Constructor Description ProfileField(String name, boolean single)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Rformat(F object)static ProfileField<?,?>getByName(String value)StringgetName()booleanisSingle()abstract Fparse(R object)StringtoString()
-
-
-
Field Detail
-
NAME
public static final ProfileField<String,String> NAME
The full name
-
AVATAR
public static final ProfileField<Integer,Integer> AVATAR
The file id of the avatar
-
BIRTHDATE
public static final ProfileField<org.joda.time.LocalDate,String> BIRTHDATE
The birthdate
-
ORGANIZATION
public static final ProfileField<String,String> ORGANIZATION
The organization or company the person is associated with
-
SKYPE
public static final ProfileField<String,String> SKYPE
The username for Skype
-
ABOUT
public static final ProfileField<String,String> ABOUT
Short text about the person
-
MAIL
public static final ProfileField<String,String> MAIL
Email address
-
ADDRESS
public static final ProfileField<String,String> ADDRESS
The address where the person lives or work
-
IM
public static final ProfileField<String,String> IM
Any instant messaging address
-
LOCATION
public static final ProfileField<String,String> LOCATION
The location of the person
-
PHONE
public static final ProfileField<String,String> PHONE
The phone number
-
TITLE
public static final ProfileField<String,String> TITLE
The persons title, usually the work title
-
URL
public static final ProfileField<String,String> URL
An URL to the persons homepage or the homepage of the company
-
-
Constructor Detail
-
ProfileField
public ProfileField(String name, boolean single)
-
-
Method Detail
-
getName
public String getName()
-
isSingle
public boolean isSingle()
-
getByName
public static ProfileField<?,?> getByName(String value)
-
-