|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.adatagenerator.modifiers.CompositeBeanFieldModifier<F,R>
public class CompositeBeanFieldModifier<F,R>
| Field Summary | |
|---|---|
protected static Logger |
logger
Deprecated. |
| Constructor Summary | |
|---|---|
CompositeBeanFieldModifier(Class<R> beanClass,
String fieldNameStem,
Iterable<ValueModifier<F>> valueModifiers)
Deprecated. |
|
CompositeBeanFieldModifier(String name,
String context,
Class<R> beanClass,
String fieldNameStem,
Iterable<ValueModifier<F>> valueModifiers)
Deprecated. |
|
CompositeBeanFieldModifier(String name,
String context,
String fieldNameStem,
Method fieldAccessor,
Method fieldMutator,
Iterable<ValueModifier<F>> valueModifiers)
Deprecated. |
|
| Method Summary | ||
|---|---|---|
int |
compareContexts(NamedInstance namedInstance)
Deprecated. Compares the context of this instance to the context of another instance using the context comparator of this
instance. |
|
int |
compareTo(NamedInstance namedInstance)
Deprecated. Compares this instance to another instance using the comparator of this instance. |
|
String |
getContext()
Deprecated. The context in which this instance is named. |
|
Comparator<String> |
getContextComparator()
Deprecated. |
|
protected Method |
getFieldAccessor()
Deprecated. |
|
protected Method |
getFieldMutator()
Deprecated. |
|
String |
getFieldNameStem()
Deprecated. |
|
String |
getName()
Deprecated. Implementing classes should return a name that will be comparable within some context |
|
protected NamedInstance |
getNameDelegate()
Deprecated. |
|
Comparator<NamedInstance> |
getNamedInstanceComparator()
Deprecated. |
|
protected Iterable<ValueModifier<F>> |
getValueModifiers()
Deprecated. |
|
R |
modifyBean(R target)
Deprecated. Modifies the specified bean. |
|
static
|
modifyBean(String fieldNameStem,
Method fieldAccessor,
Method fieldMutator,
Iterable<ValueModifier<F>> valueModifiers,
R target)
Deprecated. |
|
protected static
|
modifyBeanInternal(String fieldNameStem,
Method fieldAccessor,
Method fieldMutator,
Iterable<ValueModifier<F>> valueModifiers,
R target)
Deprecated. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger logger
| Constructor Detail |
|---|
public CompositeBeanFieldModifier(Class<R> beanClass,
String fieldNameStem,
Iterable<ValueModifier<F>> valueModifiers)
public CompositeBeanFieldModifier(String name,
String context,
Class<R> beanClass,
String fieldNameStem,
Iterable<ValueModifier<F>> valueModifiers)
public CompositeBeanFieldModifier(String name,
String context,
String fieldNameStem,
Method fieldAccessor,
Method fieldMutator,
Iterable<ValueModifier<F>> valueModifiers)
| Method Detail |
|---|
protected NamedInstance getNameDelegate()
protected Method getFieldAccessor()
protected Method getFieldMutator()
public String getFieldNameStem()
protected Iterable<ValueModifier<F>> getValueModifiers()
public R modifyBean(R target)
throws ModificationException
BeanModifier
modifyBean in interface BeanModifier<R>target - the object to modify
ModificationException - if modification fails
public static <F,R> R modifyBean(String fieldNameStem,
Method fieldAccessor,
Method fieldMutator,
Iterable<ValueModifier<F>> valueModifiers,
R target)
throws ModificationException
ModificationException
protected static <F,R> R modifyBeanInternal(String fieldNameStem,
Method fieldAccessor,
Method fieldMutator,
Iterable<ValueModifier<F>> valueModifiers,
R target)
throws ModificationException
ModificationExceptionpublic String getName()
NamedInstance
getName in interface NamedInstancepublic String getContext()
NamedInstanceNamedInstance.compareTo(NamedInstance) returns the same (non-zero)
value that is the result of comparing the contexts.
getContext in interface NamedInstancepublic int compareContexts(NamedInstance namedInstance)
NamedInstancecontext comparator of this
instance.
compareContexts in interface NamedInstancepublic Comparator<String> getContextComparator()
getContextComparator in interface NamedInstancepublic int compareTo(NamedInstance namedInstance)
NamedInstancecomparator of this instance.
compareTo in interface Comparable<NamedInstance>compareTo in interface NamedInstancepublic Comparator<NamedInstance> getNamedInstanceComparator()
getNamedInstanceComparator in interface NamedInstance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||