ezvcard.parameter
Class ExpertiseLevel

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

public class ExpertiseLevel
extends VCardParameter

Represents a LEVEL parameter for the Expertise property.

Supported versions: 4.0

Author:
Michael Angstadt
See Also:
RFC 6715

Field Summary
static ExpertiseLevel AVERAGE
           
static ExpertiseLevel BEGINNER
           
static ExpertiseLevel EXPERT
           
 
Fields inherited from class ezvcard.parameter.VCardParameter
value
 
Method Summary
static Collection<ExpertiseLevel> all()
          Gets all of the parameter values that are defined as static constants in this class.
static ExpertiseLevel find(String value)
          Searches for a parameter value that is defined as a static constant in this class.
static ExpertiseLevel 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

BEGINNER

public static final ExpertiseLevel BEGINNER

AVERAGE

public static final ExpertiseLevel AVERAGE

EXPERT

public static final ExpertiseLevel EXPERT
Method Detail

find

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