All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.bean.IValueAccess Maven / Gradle / Ivy

Go to download

TSL2 Framework Descriptor (currency-handling, generic formatter, descriptors for beans, collections, actions and values)

There is a newer version: 2.5.1
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy