de.tsl2.nano.bean.IValueAccess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.descriptor Show documentation
Show all versions of tsl2.nano.descriptor Show documentation
TSL2 Framework Descriptor (currency-handling, generic formatter, descriptors for beans, collections, actions and values)
package de.tsl2.nano.bean;
import de.tsl2.nano.core.messaging.EventController;
public interface IValueAccess {
static final String ATTR_VALUE = "value";
static final String KEY_VALUE = "valueHolder." + ATTR_VALUE;
static final String ATTR_TYPE = "type";
static final String KEY_TYPE = "valueHolder." + ATTR_TYPE;
/**
* @return Returns the object.
*/
T getValue();
/**
* @param object The object to set.
*/
void setValue(T object);
/**
* getType
* @return type of value or null
*/
Class getType();
/** returns the event controller to add and remove value change listeners */
EventController changeHandler();
}