ezvcard.parameter
Class ImppType

java.lang.Object
  extended by ezvcard.parameter.VCardParameter
      extended by ezvcard.parameter.ImppType

public class ImppType
extends VCardParameter

Represents the TYPE parameter of the Impp property.

Supported versions: 4.0

Author:
Michael Angstadt

Field Summary
static ImppType BUSINESS
           
static ImppType HOME
           
static ImppType MOBILE
           
static ImppType PERSONAL
           
static ImppType PREF
           
static ImppType WORK
           
 
Fields inherited from class ezvcard.parameter.VCardParameter
value
 
Method Summary
static Collection<ImppType> all()
          Gets all of the parameter values that are defined as static constants in this class.
static ImppType find(String value)
          Searches for a parameter value that is defined as a static constant in this class.
static ImppType get(String value)
          Searches for a parameter value and creates one if it cannot be found.
 
Methods inherited from class ezvcard.parameter.VCardParameter
equals, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PERSONAL

public static final ImppType PERSONAL

BUSINESS

public static final ImppType BUSINESS

HOME

public static final ImppType HOME

WORK

public static final ImppType WORK

MOBILE

public static final ImppType MOBILE

PREF

public static final ImppType PREF
Method Detail

find

public static ImppType 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 ImppType 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<ImppType> 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.