Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.utilities.optionhandling
Class AttributeSetting

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AttributeSetting

public class AttributeSetting
extends Object

Encapsulates a setting of one attribute.


Field Summary
(package private)  String name
          The name of the attribute.
(package private)  String value
          The value of the attribute.
 
Constructor Summary
AttributeSetting(String name, String value)
          Creates a new setting object.
 
Method Summary
 String getName()
          Returns the name of the attribute
 String getValue()
          Returns a string representation of the value of the attribute
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

String name
The name of the attribute.


value

String value
The value of the attribute.

Constructor Detail

AttributeSetting

public AttributeSetting(String name,
                        String value)
Creates a new setting object.

Parameters:
name - the name of the attribute
value - the value of the attribute
Method Detail

getName

public String getName()
Returns the name of the attribute

Returns:
the name of the attribute

getValue

public String getValue()
Returns a string representation of the value of the attribute

Returns:
a string representation of the value of the attribute

toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
Returns:
a string representation of the object.

Release 0.1 (2008-07-10_1838)