Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

 

jve.generated
Interface IDataObject

All Superinterfaces:
IBoundObject

All Known Subinterfaces:
ITableBinder

All Known Implementing Classes:
BasicDataObject, SwingTableBinder


public interface IDataObject
extends IBoundObject

This interface extends the object reference capability of IBoundObject to allow the dynamic getting and setting of property values on the referenced object. The property names are deliminated by the DELIMITER character, allowing nesting into sub-properties (e.g. contact.address.zip).


Field Summary
 

Fields inherited from interface jve.generated.IBoundObject
DELIMITER, PROPERTY_OBJ_CHANGED
 

Method Summary
 java.lang.Object getValue(java.lang.String property)
          Use the getter of an object to get a property
 boolean isPrimitive(java.lang.String property)
          Get to see if the type of the given property is a Java primitive type.
 boolean isReadOnly(java.lang.String property)
          Check if the given property has a setter method.
 void setValue(java.lang.String property, java.lang.Object value)
          Use the setter of an object to set a property.
 

Methods inherited from interface jve.generated.IBoundObject
actionPerformed, addPropertyChangeListener, getObject, getProperty, getSourceObject, getType, refresh, removePropertyChangeListener, setProperty, setSourceObject, setSourceObject
 

Method Detail

 

 

getValue

public java.lang.Object getValue(java.lang.String property)

Use the getter of an object to get a property

Parameters:
property - the property to get from the target object
Returns:
property value


 

 

setValue

public void setValue(java.lang.String property,
                     java.lang.Object value)

Use the setter of an object to set a property. Using this method will fire a single PropertyChange event to registered PropertyChangeListeners.

Parameters:
property - property to set on the target object
value - the value to set


 

 

isReadOnly

public boolean isReadOnly(java.lang.String property)
                   throws java.lang.IllegalArgumentException

Check if the given property has a setter method.

Parameters:
property - the property to check
Returns:
true, if the property does not have a setter method, false otherwise
Throws:
java.lang.IllegalArgumentException - if the target property is invalid


 

 

isPrimitive

public boolean isPrimitive(java.lang.String property)
                    throws java.lang.IllegalArgumentException

Get to see if the type of the given property is a Java primitive type.

Parameters:
property - the property to check
Returns:
true if the property is a primitive type, false otherwise
Throws:
java.lang.IllegalArgumentException - if the target property is invalid


Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD