public class FieldClassDescriptor extends AbstractClassDescriptor
Field
s on a type.AbstractClassDescriptor.SimpleAttributeValueMutator, AbstractClassDescriptor.SimpleDnValueMutator
logger
Constructor and Description |
---|
FieldClassDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected AttributeValueMutator |
createAttributeValueMutator(Field field,
Attribute attribute)
Returns an attribute value mutator for the supplied field.
|
protected DnValueMutator |
createDnValueMutator(Field field)
Returns a dn value mutator for the supplied field.
|
protected Map<String,Field> |
getDeclaredFields(Class<?> type)
Returns a map of all the field names to the field.
|
void |
initialize(Class<?> type)
Prepare this class descriptor for use.
|
addAttributeValueMutator, addAttributeValueMutator, getAttributeValueMutator, getAttributeValueMutators, getDnValueMutator, setDnValueMutator, toString
public void initialize(Class<?> type)
ClassDescriptor
type
- of object to describeprotected Map<String,Field> getDeclaredFields(Class<?> type)
type
- to read declared fields fromprotected DnValueMutator createDnValueMutator(Field field)
field
- to create dn value mutator forprotected AttributeValueMutator createAttributeValueMutator(Field field, Attribute attribute)
field
- to create attribute value mutator forattribute
- attribute containing metadataCopyright © 2003-2019 Virginia Tech. All Rights Reserved.