public abstract class AbstractCriteriaLeaf<T> extends AbstractCriteria implements CriteriaLeaf<T>
CriteriaLeaf
functionality provided for
CriteriaLeaf
implementations.NameAccessor.NameBuilder<B extends NameAccessor.NameBuilder<B>>, NameAccessor.NameMutator, NameAccessor.NameProperty
KeyAccessor.KeyMutator<K>, KeyAccessor.KeyProperty<K>
ValueAccessor.ValueMutator<V>, ValueAccessor.ValueProperty<V>
Constructor and Description |
---|
AbstractCriteriaLeaf(String aName)
Constructs a
CriteriaLeaf with the given name. |
AbstractCriteriaLeaf(String aName,
String aKey,
T aValue)
Constructs a
CriteriaLeaf with the given name, key and value. |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
T |
getValue() |
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public AbstractCriteriaLeaf(String aName)
CriteriaLeaf
with the given name.aName
- The name of the CriteriaLeaf
.public AbstractCriteriaLeaf(String aName, String aKey, T aValue)
CriteriaLeaf
with the given name, key and value.aName
- The name of the CriteriaLeaf
.aKey
- The key for the CriteriaLeaf
.aKey
- The value for the CriteriaLeaf
.public T getValue()
getValue
in interface ValueAccessor<T>
public String getKey()
getKey
in interface KeyAccessor<String>
Copyright © 2015. All rights reserved.