org.mmbase.framework
Class Setting<C>

java.lang.Object
  extended by org.mmbase.framework.Setting<C>

public class Setting<C>
extends Object

Representation of Component related settings. These settings can be defined in their proper Component XML.

Since:
MMBase-1.9
Version:
$Id: Setting.java 41989 2010-04-20 16:45:39Z michiel $
Author:
Michiel Meeuwissen
To Do:
The values of the settings can still only be set in memory and in the component xml. There must be some way to persistify them. There should also be a editor in the admin pages.

Nested Class Summary
static class Setting.DataType
           
 
Field Summary
protected  DataTypeCollector dataTypeCollector
           
 
Constructor Summary
Setting(Component component, Element element)
           
 
Method Summary
 boolean equals(Object o)
           
 Component getComponent()
           
 DataType<C> getDataType()
           
 LocalizedString getDescription()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dataTypeCollector

protected final DataTypeCollector dataTypeCollector
Constructor Detail

Setting

public Setting(Component component,
               Element element)
Method Detail

getName

public String getName()

getDescription

public LocalizedString getDescription()

getComponent

public Component getComponent()

getDataType

public DataType<C> getDataType()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


MMBase 2.0-SNAPSHOT - null