ezvcard.parameters
Class RelatedTypeParameter

java.lang.Object
  extended by ezvcard.parameters.VCardParameter
      extended by ezvcard.parameters.TypeParameter
          extended by ezvcard.parameters.RelatedTypeParameter

public class RelatedTypeParameter
extends TypeParameter

Represents the TYPE parameter of the RELATED type.

vCard versions: 4.0

Author:
Michael Angstadt

Field Summary
static RelatedTypeParameter ACQUAINTANCE
           
static RelatedTypeParameter AGENT
           
static RelatedTypeParameter CHILD
           
static RelatedTypeParameter CO_RESIDENT
           
static RelatedTypeParameter CO_WORKER
           
static RelatedTypeParameter COLLEAGUE
           
static RelatedTypeParameter CONTACT
           
static RelatedTypeParameter CRUSH
           
static RelatedTypeParameter DATE
           
static RelatedTypeParameter EMERGENCY
           
static RelatedTypeParameter FRIEND
           
static RelatedTypeParameter KIN
           
static RelatedTypeParameter ME
           
static RelatedTypeParameter MET
           
static RelatedTypeParameter MUSE
           
static RelatedTypeParameter NEIGHBOR
           
static RelatedTypeParameter PARENT
           
static RelatedTypeParameter SIBLING
           
static RelatedTypeParameter SPOUSE
           
static RelatedTypeParameter SWEETHEART
           
 
Fields inherited from class ezvcard.parameters.TypeParameter
NAME
 
Fields inherited from class ezvcard.parameters.VCardParameter
name, value
 
Constructor Summary
RelatedTypeParameter(String value)
          Use of this constructor is discouraged and should only be used for defining non-standard TYPEs.
 
Method Summary
static RelatedTypeParameter valueOf(String value)
          Searches the static objects in this class for one that has a certain type value.
 
Methods inherited from class ezvcard.parameters.VCardParameter
all, equals, findByValue, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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")
Method Detail

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.