de.cau.cs.kieler.kiml.export
Class ExporterOption<T>

java.lang.Object
  extended by de.cau.cs.kieler.core.properties.Property<T>
      extended by de.cau.cs.kieler.kiml.export.ExporterOption<T>
Type Parameters:
T - the option type
All Implemented Interfaces:
IProperty<T>, Comparable<IProperty<?>>

public class ExporterOption<T>
extends Property<T>

An exporter option providing a description in addition to the Property functionality.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.core.properties.Property
NEGATIVE_INFINITY, POSITIVE_INFINITY
 
Constructor Summary
ExporterOption(String theId, String theDescription, T theDefaultValue)
          Constructs an ExporterOption.
 
Method Summary
 String getDescription()
          Returns the option description.
 
Methods inherited from class de.cau.cs.kieler.core.properties.Property
compareTo, equals, getDefault, getId, getLowerBound, getUpperBound, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExporterOption

public ExporterOption(String theId,
                      String theDescription,
                      T theDefaultValue)
Constructs an ExporterOption.

Parameters:
theId - the option id
theDescription - the option description
theDefaultValue - the default value, has to be != null
Method Detail

getDescription

public String getDescription()
Returns the option description.

Returns:
the description