|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.beans.reflect.AbstractAttributeValueMutator
org.ldaptive.beans.reflect.FieldAttributeValueMutator
public class FieldAttributeValueMutator
Attribute mutator associated with the Field of an object.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.beans.reflect.AbstractAttributeValueMutator |
|---|
logger |
| Constructor Summary | |
|---|---|
FieldAttributeValueMutator(ReflectionTranscoder transcoder,
Field field)
Creates a new field attribute value mutator. |
|
FieldAttributeValueMutator(String name,
boolean binary,
org.ldaptive.SortBehavior sortBehavior,
ReflectionTranscoder transcoder,
Field field)
Creates a new field attribute value mutator. |
|
| Method Summary | |
|---|---|
Collection<byte[]> |
getBinaryValues(Object object)
Returns the binary values of the attribute. |
Collection<String> |
getStringValues(Object object)
Returns the string values of the attribute. |
void |
setBinaryValues(Object object,
Collection<byte[]> values)
Sets the binary values of the attribute. |
void |
setStringValues(Object object,
Collection<String> values)
Sets the string values of the attribute. |
String |
toString()
|
| Methods inherited from class org.ldaptive.beans.reflect.AbstractAttributeValueMutator |
|---|
getName, getReflectionTranscoder, getSortBehavior, isBinary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldAttributeValueMutator(ReflectionTranscoder transcoder,
Field field)
transcoder - for mutating the fieldfield - to mutate
public FieldAttributeValueMutator(String name,
boolean binary,
org.ldaptive.SortBehavior sortBehavior,
ReflectionTranscoder transcoder,
Field field)
name - of the attributebinary - whether the attribute is binarysortBehavior - sort behavior of the attributetranscoder - to mutate the fieldfield - to mutate| Method Detail |
|---|
public Collection<String> getStringValues(Object object)
object - containing attribute values
public Collection<byte[]> getBinaryValues(Object object)
object - containing attribute values
public void setStringValues(Object object,
Collection<String> values)
object - to set values onvalues - to set
public void setBinaryValues(Object object,
Collection<byte[]> values)
object - to set values onvalues - to setpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||