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.

Version:
$Revision: 2887 $ $Date: 2014-02-26 12:23:53 -0500 (Wed, 26 Feb 2014) $
Author:
Middleware Services

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.
 

Method Detail

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

getSortBehavior

org.ldaptive.SortBehavior getSortBehavior()
Returns the sort behavior of the attribute.

Returns:
sort behavior of the attribute

getStringValues

Collection<String> getStringValues(Object object)
Returns the string values of the attribute.

Parameters:
object - containing attribute values
Returns:
attribute values

getBinaryValues

Collection<byte[]> getBinaryValues(Object object)
Returns the binary values of the attribute.

Parameters:
object - containing attribute values
Returns:
attribute values

setStringValues

void setStringValues(Object object,
                     Collection<String> values)
Sets the string values of the attribute.

Parameters:
object - to set values on
values - to set

setBinaryValues

void setBinaryValues(Object object,
                     Collection<byte[]> values)
Sets the binary values of the attribute.

Parameters:
object - to set values on
values - to set


Copyright © 2003-2016 Virginia Tech. All Rights Reserved.