Package org.ldaptive.beans
Interface AttributeValueMutator
- All Known Implementing Classes:
AbstractAttributeValueMutator,AbstractClassDescriptor.SimpleAttributeValueMutator,FieldAttributeValueMutator,MethodAttributeValueMutator,SpelAttributeValueMutator
public interface AttributeValueMutator
Interface for mutating an attribute value on an arbitrary object.
-
Method Summary
Modifier and TypeMethodDescriptionCollection<byte[]>getBinaryValues(Object object) Returns the binary values of the attribute.getName()Returns the name of the attribute.getStringValues(Object object) Returns the string values of the attribute.booleanisBinary()Returns whether the attribute is binary.voidsetBinaryValues(Object object, Collection<byte[]> values) Sets the binary values of the attribute.voidsetStringValues(Object object, Collection<String> values) Sets the string values of the attribute.
-
Method Details
-
getName
String getName()Returns the name of the attribute.- Returns:
- attribute name
-
isBinary
boolean isBinary()Returns whether the attribute is binary.- Returns:
- whether the attribute is binary
-
getStringValues
Returns the string values of the attribute.- Parameters:
object- containing attribute values- Returns:
- attribute values
-
getBinaryValues
Returns the binary values of the attribute.- Parameters:
object- containing attribute values- Returns:
- attribute values
-
setStringValues
Sets the string values of the attribute.- Parameters:
object- to set values onvalues- to set
-
setBinaryValues
Sets the binary values of the attribute.- Parameters:
object- to set values onvalues- to set
-