org.ldaptive.beans.reflect
Class FieldClassDescriptor
java.lang.Object
org.ldaptive.beans.AbstractClassDescriptor
org.ldaptive.beans.reflect.FieldClassDescriptor
- All Implemented Interfaces:
- ClassDescriptor
public class FieldClassDescriptor
- extends AbstractClassDescriptor
Creates DN and attribute mutators for the Fields on a type.
- Version:
- $Revision: 3013 $ $Date: 2014-07-02 11:26:52 -0400 (Wed, 02 Jul 2014) $
- Author:
- Middleware Services
FieldClassDescriptor
public FieldClassDescriptor()
initialize
public void initialize(Class<?> type)
- Prepare this class descriptor for use.
- Parameters:
type - of object to describe
getDeclaredFields
protected Map<String,Field> getDeclaredFields(Class<?> type)
- Returns a map of all the field names to the field.
- Parameters:
type - to read declared fields from
- Returns:
- map of field names to field
createDnValueMutator
protected DnValueMutator createDnValueMutator(Field field)
- Returns a dn value mutator for the supplied field.
- Parameters:
field - to create dn value mutator for
- Returns:
- dn value mutator
createAttributeValueMutator
protected AttributeValueMutator createAttributeValueMutator(Field field,
Attribute attribute)
- Returns an attribute value mutator for the supplied field.
- Parameters:
field - to create attribute value mutator forattribute - attribute containing metadata
- Returns:
- attribute value mutator
Copyright © 2003-2016 Virginia Tech. All Rights Reserved.