de.cau.cs.kieler.keg.importer
Class ImporterOption<T>

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

public class ImporterOption<T>
extends Property<T>

An importer 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
ImporterOption(String theId, String theDescription, T theDefaultValue)
          Constructs an ImporterOption.
 
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

ImporterOption

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

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