ezvcard.parameter
Class VCardParameter

java.lang.Object
  extended by ezvcard.parameter.VCardParameter
Direct Known Subclasses:
Calscale, ExpertiseLevel, HobbyLevel, ImppType, InterestLevel, MediaTypeParameter, RelatedType, VersionedVCardParameter

public class VCardParameter
extends Object

Represents a vCard parameter (aka "sub type") whose values are pre-defined.

Author:
Michael Angstadt

Field Summary
protected  String value
          The value (for example, "home").
 
Constructor Summary
VCardParameter(String value)
          Creates a new parameter.
 
Method Summary
 boolean equals(Object obj)
           
 String getValue()
          Gets the value of the parameter.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected final String value
The value (for example, "home").

Constructor Detail

VCardParameter

public VCardParameter(String value)
Creates a new parameter.

Parameters:
value - the value
Method Detail

getValue

public String getValue()
Gets the value of the parameter.

Returns:
the value of the parameter (e.g. "home")

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.