ezvcard.parameters
Class RelatedTypeParameter
java.lang.Object
ezvcard.parameters.VCardParameter
ezvcard.parameters.TypeParameter
ezvcard.parameters.RelatedTypeParameter
public class RelatedTypeParameter
- extends TypeParameter
Represents the TYPE parameter of the RELATED type.
vCard versions: 4.0
- Author:
- Michael Angstadt
Constructor Summary |
RelatedTypeParameter(String value)
Use of this constructor is discouraged and should only be used for
defining non-standard TYPEs. |
ACQUAINTANCE
public static final RelatedTypeParameter ACQUAINTANCE
AGENT
public static final RelatedTypeParameter AGENT
CHILD
public static final RelatedTypeParameter CHILD
CO_RESIDENT
public static final RelatedTypeParameter CO_RESIDENT
CO_WORKER
public static final RelatedTypeParameter CO_WORKER
COLLEAGUE
public static final RelatedTypeParameter COLLEAGUE
CONTACT
public static final RelatedTypeParameter CONTACT
CRUSH
public static final RelatedTypeParameter CRUSH
DATE
public static final RelatedTypeParameter DATE
EMERGENCY
public static final RelatedTypeParameter EMERGENCY
FRIEND
public static final RelatedTypeParameter FRIEND
KIN
public static final RelatedTypeParameter KIN
ME
public static final RelatedTypeParameter ME
MET
public static final RelatedTypeParameter MET
MUSE
public static final RelatedTypeParameter MUSE
NEIGHBOR
public static final RelatedTypeParameter NEIGHBOR
PARENT
public static final RelatedTypeParameter PARENT
SIBLING
public static final RelatedTypeParameter SIBLING
SPOUSE
public static final RelatedTypeParameter SPOUSE
SWEETHEART
public static final RelatedTypeParameter SWEETHEART
RelatedTypeParameter
public RelatedTypeParameter(String value)
- Use of this constructor is discouraged and should only be used for
defining non-standard TYPEs. Please use one of the predefined static
objects.
- Parameters:
value
- the type value (e.g. "spouse")
valueOf
public static RelatedTypeParameter valueOf(String value)
- Searches the static objects in this class for one that has a certain type
value.
- Parameters:
value
- the type value to search for (e.g. "spouse")
- Returns:
- the object or null if not found
Copyright © 2012-2013. All Rights Reserved.