public abstract class AbstractCriteriaLeaf<T> extends AbstractCriteria implements CriteriaLeaf<T>
CriteriaLeaf functionality provided for
CriteriaLeaf implementations.org.refcodes.mixin.mixins.NameAccessor.NameBuilder<B>, org.refcodes.mixin.mixins.NameAccessor.NameMutator, org.refcodes.mixin.mixins.NameAccessor.NamePropertyorg.refcodes.mixin.mixins.AttributeAccessor.AttributeMutator<K,V>, org.refcodes.mixin.mixins.AttributeAccessor.AttributeProperty<K,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() |
void |
setKey(String aKey) |
void |
setValue(T aValue) |
getNamepublic 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 org.refcodes.mixin.mixins.ValueAccessor<T>public String getKey()
getKey in interface org.refcodes.mixin.mixins.KeyAccessor<String>public void setKey(String aKey)
setKey in interface org.refcodes.mixin.mixins.KeyAccessor.KeyMutator<String>Copyright © 2015. All rights reserved.