|
||||||||||
| 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.MethodAttributeValueMutator
public class MethodAttributeValueMutator
Attribute mutator associated with the Method of an object.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.beans.reflect.AbstractAttributeValueMutator |
|---|
logger |
| Constructor Summary | |
|---|---|
MethodAttributeValueMutator(ReflectionTranscoder transcoder,
Method getter,
Method setter)
Creates a new method attribute value mutator. |
|
MethodAttributeValueMutator(String name,
boolean binary,
org.ldaptive.SortBehavior sortBehavior,
ReflectionTranscoder transcoder,
Method getter,
Method setter)
Creates a new method 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 MethodAttributeValueMutator(ReflectionTranscoder transcoder,
Method getter,
Method setter)
transcoder - for mutating the methodsgetter - method to read datasetter - method to write data
public MethodAttributeValueMutator(String name,
boolean binary,
org.ldaptive.SortBehavior sortBehavior,
ReflectionTranscoder transcoder,
Method getter,
Method setter)
name - of the attributebinary - whether the attribute is binarysortBehavior - sort behavior of the attributetranscoder - to mutate the methodsgetter - method to read datasetter - method to write data| 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 | |||||||||