|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.utilities.optionhandling.AttributeSettings
public class AttributeSettings
Encapsulates the current settings of the attributes of an object.
Field Summary | |
---|---|
private Object |
object
The object. |
private List<AttributeSetting> |
settings
The settings of the attributes. |
Constructor Summary | |
---|---|
AttributeSettings(Object object)
Creates a new parameter setting object. |
Method Summary | |
---|---|
void |
addOption(Option<?> option)
Add an option to the settings list. |
void |
addSetting(String name,
String value)
Adds a new setting to this settings. |
List<AttributeSetting> |
getSettings()
Returns the list of settings. |
String |
toString()
Returns a string representation of the object. |
String |
toString(String prefix)
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 |
---|
private List<AttributeSetting> settings
private Object object
Constructor Detail |
---|
public AttributeSettings(Object object)
object
- the objectMethod Detail |
---|
public void addSetting(String name, String value)
name
- the name of the attributevalue
- a string representation of the value of the attributepublic void addOption(Option<?> option)
option
- Option to addpublic List<AttributeSetting> getSettings()
public String toString(String prefix)
prefix
-
public String toString()
toString
in class Object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |