|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.beans.AbstractClassDescriptor.SimpleAttributeValueMutator
protected class AbstractClassDescriptor.SimpleAttributeValueMutator
Stores an Attribute configuration in an LdapAttribute
object. Setter methods are no-ops.
| Constructor Summary | |
|---|---|
AbstractClassDescriptor.SimpleAttributeValueMutator(String name,
String[] values,
boolean binary,
org.ldaptive.SortBehavior behavior)
Creates a new simple attribute value mutator. |
|
| Method Summary | |
|---|---|
Collection<byte[]> |
getBinaryValues(Object object)
Returns the binary values of the attribute. |
String |
getName()
Returns the name of the attribute. |
org.ldaptive.SortBehavior |
getSortBehavior()
Returns the sort behavior of the attribute. |
Collection<String> |
getStringValues(Object object)
Returns the string values of the attribute. |
boolean |
isBinary()
Returns whether the attribute is binary. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractClassDescriptor.SimpleAttributeValueMutator(String name,
String[] values,
boolean binary,
org.ldaptive.SortBehavior behavior)
name - of the attributevalues - of the attributebinary - whether values contains base64 encoded databehavior - sort behavior of the attribute| Method Detail |
|---|
public String getName()
getName in interface AttributeValueMutatorpublic boolean isBinary()
isBinary in interface AttributeValueMutatorpublic org.ldaptive.SortBehavior getSortBehavior()
getSortBehavior in interface AttributeValueMutatorpublic Collection<String> getStringValues(Object object)
getStringValues in interface AttributeValueMutatorobject - containing attribute values
public Collection<byte[]> getBinaryValues(Object object)
getBinaryValues in interface AttributeValueMutatorobject - containing attribute values
public void setStringValues(Object object,
Collection<String> values)
setStringValues in interface AttributeValueMutatorobject - to set values onvalues - to set
public void setBinaryValues(Object object,
Collection<byte[]> values)
setBinaryValues in interface AttributeValueMutatorobject - 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 | |||||||||