ezvcard.parameter
Class RelatedType
java.lang.Object
ezvcard.parameter.VCardParameter
ezvcard.parameter.RelatedType
public class RelatedType
- extends VCardParameter
Represents the TYPE parameter of the Related
property.
Supported versions: 4.0
- Author:
- Michael Angstadt
Method Summary |
static Collection<RelatedType> |
all()
Gets all of the parameter values that are defined as static constants in
this class. |
static RelatedType |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class. |
static RelatedType |
get(String value)
Searches for a parameter value and creates one if it cannot be found. |
ACQUAINTANCE
public static final RelatedType ACQUAINTANCE
AGENT
public static final RelatedType AGENT
CHILD
public static final RelatedType CHILD
CO_RESIDENT
public static final RelatedType CO_RESIDENT
CO_WORKER
public static final RelatedType CO_WORKER
COLLEAGUE
public static final RelatedType COLLEAGUE
CONTACT
public static final RelatedType CONTACT
CRUSH
public static final RelatedType CRUSH
DATE
public static final RelatedType DATE
EMERGENCY
public static final RelatedType EMERGENCY
FRIEND
public static final RelatedType FRIEND
KIN
public static final RelatedType KIN
ME
public static final RelatedType ME
MET
public static final RelatedType MET
MUSE
public static final RelatedType MUSE
NEIGHBOR
public static final RelatedType NEIGHBOR
PARENT
public static final RelatedType PARENT
SIBLING
public static final RelatedType SIBLING
SPOUSE
public static final RelatedType SPOUSE
SWEETHEART
public static final RelatedType SWEETHEART
find
public static RelatedType find(String value)
- Searches for a parameter value that is defined as a static constant in
this class.
- Parameters:
value
- the parameter value
- Returns:
- the object or null if not found
get
public static RelatedType get(String value)
- Searches for a parameter value and creates one if it cannot be found. All
objects are guaranteed to be unique, so they can be compared with
==
equality.
- Parameters:
value
- the parameter value
- Returns:
- the object
all
public static Collection<RelatedType> all()
- Gets all of the parameter values that are defined as static constants in
this class.
- Returns:
- the parameter values
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.