biweekly.parameter
Class EnumParameterValue

java.lang.Object
  extended by biweekly.parameter.EnumParameterValue
Direct Known Subclasses:
CalendarUserType, Encoding, FreeBusyType, ParticipationStatus, Range, Related, RelationshipType, Role, Value

public class EnumParameterValue
extends Object

Represents a value from a parameter that has a list of pre-defined values (for example, the VALUE or ACTION parameters).

Author:
Michael Angstadt

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

Field Detail

value

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

Constructor Detail

EnumParameterValue

protected EnumParameterValue(String value)
Parameters:
value - the value (e.g. "text")
Method Detail

getValue

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2013 Michael Angstadt. All Rights Reserved.