public abstract class AbstractAttributeValueMutator extends Object implements AttributeValueMutator
AttributeValueMutator
. Uses a ReflectionTranscoder
for mutating values.Modifier and Type | Field and Description |
---|---|
private boolean |
attributeBinary
Whether this attribute is binary.
|
private String |
attributeName
Name of the attribute.
|
private SortBehavior |
attributeSortBehavior
Sort behavior of this attribute.
|
protected Logger |
logger
Logger for this class.
|
private ReflectionTranscoder |
valueTranscoder
Transcoder for modifying this attribute.
|
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
protected final Logger logger
private final String attributeName
private final boolean attributeBinary
private final SortBehavior attributeSortBehavior
private final ReflectionTranscoder valueTranscoder
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 © 2003-2019 Virginia Tech. All Rights Reserved.