public abstract class IlvAbstractUserDefinedProperty extends IlvAbstractStringProperty
IlvAbstractUserDefinedProperty provides a common framework
 for accessing arbitrary user-defined properties of an
 IlvUserPropertyHolder via the generic
 IlvStringProperty interface.
 A Format can be supplied to convert non-String
 properties to/from a string. The user-defined property class is also
 used to try to convert non-String property values to/from
 a string, when there is no format specified and the property class is
 not String._formatter| Constructor and Description | 
|---|
| IlvAbstractUserDefinedProperty(String userPropertyName)Constructs a new  IlvAbstractUserDefinedPropertyfor the
 given user-property of classString. | 
| IlvAbstractUserDefinedProperty(String userPropertyName,
                              Class userPropertyClass)Constructs a new  IlvAbstractUserDefinedPropertyfor the
 given user-property of a given class. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class | getPropertyClass()Gets the class of the user-defined property this adapter is used for. | 
| String | getPropertyName()Gets the name of the user-defined property this adapter is used for. | 
| protected Object | getValueImpl(Object target)/**
 Returns the value of the property represented by this adapter from the
 specified  targetobject, ornullif the
 target object is not anIlvUserPropertyHolder | 
| protected void | setValueImpl(Object target,
            Object value)/**
 Sets the value of the property represented by this adapter in the
 specified  targetobject. | 
changedRowsIterator, getFormat, getValue, isPropertyChangedEvent, setFormat, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventClasspublic IlvAbstractUserDefinedProperty(String userPropertyName)
IlvAbstractUserDefinedProperty for the
 given user-property of class String.userPropertyName - the name of the property in the model.public IlvAbstractUserDefinedProperty(String userPropertyName, Class userPropertyClass)
IlvAbstractUserDefinedProperty for the
 given user-property of a given class.userPropertyName - the name of the property in the model.userPropertyClass - the name of the property in the model.public Class getPropertyClass()
Class of the user-defined property.public String getPropertyName()
protected Object getValueImpl(Object target) throws IllegalArgumentException
target object, or null if the
 target object is not an IlvUserPropertyHoldergetValueImpl in class IlvAbstractStringPropertytarget - the target object.IllegalArgumentException - if the property name is null.IlvAbstractStringProperty.getValue(java.lang.Object)protected void setValueImpl(Object target, Object value)
target object.
 If the value is not of the correct type, the value is not set.setValueImpl in class IlvAbstractStringPropertytarget - the target object.value - the property value of the target object.IllegalArgumentException - if the property name is null, or if
         the target is not an IlvUserPropertyHolder.IlvAbstractStringProperty.setValue(java.lang.Object, java.lang.String)© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.