com.ca.commons.jndi.beans
Class DataModelBinaryPropertyHandler
java.lang.Object
com.ca.commons.jndi.beans.MultiValuedAttribHandler
com.ca.commons.jndi.beans.DataModelBinaryPropertyHandler
- All Implemented Interfaces:
- JNDIBeanPropertyHandler
public final class DataModelBinaryPropertyHandler
- extends MultiValuedAttribHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataModelBinaryPropertyHandler
public DataModelBinaryPropertyHandler()
attrib2Property
protected Object attrib2Property(@Nullable
Object attrValue)
- Description copied from class:
MultiValuedAttribHandler
- Converts a single attribute value to a value to be included in
the
Collection result. This is called by
MultiValuedAttribHandler.getPropertyValue(javax.naming.directory.Attribute[])
for each value of the multivalued attribute.
The default implementation simply returns the same reference it
was passed.
- Overrides:
attrib2Property in class MultiValuedAttribHandler
- Parameters:
attrValue - An attribute value.
- Returns:
- The converted value.
property2Attrib
protected Object property2Attrib(@Nullable
Object propValue)
- Description copied from class:
MultiValuedAttribHandler
- Converts a single property value to an attribute value.
This is called by
MultiValuedAttribHandler.getAttributeValues(java.lang.Object)
for each element of the input Collection.
The default implementation simply returns the same reference it
was passed.
- Overrides:
property2Attrib in class MultiValuedAttribHandler
- Parameters:
propValue - A property value.
- Returns:
- The converted attribute value.
Created 2011-07-14 13:27 EST