biweekly.parameter
Class EnumParameterValue

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

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
 String getValue()
          Gets the value of the parameter.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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")

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Michael Angstadt. All Rights Reserved.