public abstract class AbstractAttributeValueMutator extends Object implements AttributeValueMutator
AttributeValueMutator
. Uses a ReflectionTranscoder
for mutating values.Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
AbstractAttributeValueMutator(String name,
boolean binary,
SortBehavior sortBehavior,
ReflectionTranscoder transcoder)
Creates a new abstract attribute value mutator.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the attribute.
|
protected ReflectionTranscoder |
getReflectionTranscoder()
Returns the reflection transcoder.
|
SortBehavior |
getSortBehavior()
Returns the sort behavior of the attribute.
|
boolean |
isBinary()
Returns whether the attribute is binary.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBinaryValues, getStringValues, setBinaryValues, setStringValues
public AbstractAttributeValueMutator(String name, boolean binary, SortBehavior sortBehavior, ReflectionTranscoder transcoder)
name
- of the attributebinary
- whether this attribute is binarysortBehavior
- how to sort this attributetranscoder
- for mutating the attributepublic String getName()
AttributeValueMutator
getName
in interface AttributeValueMutator
public boolean isBinary()
AttributeValueMutator
isBinary
in interface AttributeValueMutator
public SortBehavior getSortBehavior()
AttributeValueMutator
getSortBehavior
in interface AttributeValueMutator
protected ReflectionTranscoder getReflectionTranscoder()
Copyright © 2017. All rights reserved.