ezvcard.parameter
Class TelephoneType

java.lang.Object
  extended by ezvcard.parameter.VCardParameter
      extended by ezvcard.parameter.VersionedVCardParameter
          extended by ezvcard.parameter.TelephoneType

public class TelephoneType
extends VersionedVCardParameter

Represents the TYPE parameter of the Telephone property.

Supported versions: 2.1, 3.0, 4.0

Author:
Michael Angstadt

Field Summary
static TelephoneType BBS
          Supported versions: 2.1, 3.0
static TelephoneType CAR
          Supported versions: 2.1, 3.0
static TelephoneType CELL
          Supported versions: 2.1, 3.0, 4.0
static TelephoneType FAX
          Supported versions: 2.1, 3.0, 4.0
static TelephoneType HOME
          Supported versions: 2.1, 3.0, 4.0
static TelephoneType ISDN
          Supported versions: 2.1, 3.0
static TelephoneType MODEM
          Supported versions: 2.1, 3.0
static TelephoneType MSG
          Supported versions: 2.1, 3.0
static TelephoneType PAGER
          Supported versions: 2.1, 3.0, 4.0
static TelephoneType PCS
          Supported versions: 3.0
static TelephoneType PREF
          Supported versions: 2.1, 3.0
static TelephoneType TEXT
          Supported versions: 4.0
static TelephoneType TEXTPHONE
          Supported versions: 4.0
static TelephoneType VIDEO
          Supported versions: 2.1, 3.0, 4.0
static TelephoneType VOICE
          Supported versions: 2.1, 3.0, 4.0
static TelephoneType WORK
          Supported versions: 2.1, 3.0, 4.0
 
Fields inherited from class ezvcard.parameter.VersionedVCardParameter
supportedVersions
 
Fields inherited from class ezvcard.parameter.VCardParameter
value
 
Method Summary
static Collection<TelephoneType> all()
          Gets all of the parameter values that are defined as static constants in this class.
static TelephoneType find(String value)
          Searches for a parameter value that is defined as a static constant in this class.
static TelephoneType get(String value)
          Searches for a parameter value and creates one if it cannot be found.
 
Methods inherited from class ezvcard.parameter.VersionedVCardParameter
isSupported
 
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

BBS

public static final TelephoneType BBS
Supported versions: 2.1, 3.0


CAR

public static final TelephoneType CAR
Supported versions: 2.1, 3.0


CELL

public static final TelephoneType CELL
Supported versions: 2.1, 3.0, 4.0


FAX

public static final TelephoneType FAX
Supported versions: 2.1, 3.0, 4.0


HOME

public static final TelephoneType HOME
Supported versions: 2.1, 3.0, 4.0


ISDN

public static final TelephoneType ISDN
Supported versions: 2.1, 3.0


MODEM

public static final TelephoneType MODEM
Supported versions: 2.1, 3.0


MSG

public static final TelephoneType MSG
Supported versions: 2.1, 3.0


PAGER

public static final TelephoneType PAGER
Supported versions: 2.1, 3.0, 4.0


PCS

public static final TelephoneType PCS
Supported versions: 3.0


PREF

public static final TelephoneType PREF
Supported versions: 2.1, 3.0


TEXT

public static final TelephoneType TEXT
Supported versions: 4.0


TEXTPHONE

public static final TelephoneType TEXTPHONE
Supported versions: 4.0


VIDEO

public static final TelephoneType VIDEO
Supported versions: 2.1, 3.0, 4.0


VOICE

public static final TelephoneType VOICE
Supported versions: 2.1, 3.0, 4.0


WORK

public static final TelephoneType WORK
Supported versions: 2.1, 3.0, 4.0

Method Detail

find

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