Package org.refcodes.criteria
Class AbstractCriteriaLeaf<T>
- java.lang.Object
-
- org.refcodes.criteria.AbstractCriteria
-
- org.refcodes.criteria.AbstractCriteriaLeaf<T>
-
- Type Parameters:
T
- the generic type
- All Implemented Interfaces:
Criteria
,CriteriaLeaf<T>
,org.refcodes.mixin.KeyAccessor<T>
,org.refcodes.mixin.KeyAccessor.KeyBuilder<K,org.refcodes.structure.Relation.RelationBuilder<K,V>>
,org.refcodes.mixin.KeyAccessor.KeyMutator<T>
,org.refcodes.mixin.KeyAccessor.KeyProperty<T>
,org.refcodes.mixin.NameAccessor
,org.refcodes.mixin.ValueAccessor<T>
,org.refcodes.mixin.ValueAccessor.ValueBuilder<V,org.refcodes.structure.Relation.RelationBuilder<K,V>>
,org.refcodes.mixin.ValueAccessor.ValueMutator<T>
,org.refcodes.mixin.ValueAccessor.ValueProperty<T>
,org.refcodes.structure.Relation<K,V>
,org.refcodes.structure.Relation.RelationBuilder<java.lang.String,T>
public abstract class AbstractCriteriaLeaf<T> extends AbstractCriteria implements CriteriaLeaf<T>
Base class with the baseCriteriaLeaf
functionality provided forCriteriaLeaf
implementations.- Version:
- $Id: $Id
- Author:
- steiner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.NameAccessor
org.refcodes.mixin.NameAccessor.NameBuilder<B extends org.refcodes.mixin.NameAccessor.NameBuilder<B>>, org.refcodes.mixin.NameAccessor.NameMutator, org.refcodes.mixin.NameAccessor.NameProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Relation
org.refcodes.structure.Relation.RelationBuilder<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends java.lang.Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends java.lang.Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description AbstractCriteriaLeaf(java.lang.String aName)
Constructs aCriteriaLeaf
with the given name.AbstractCriteriaLeaf(java.lang.String aName, java.lang.String aKey, T aValue)
Constructs aCriteriaLeaf
with the given name, key and value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
T
getValue()
void
setKey(java.lang.String aKey)
void
setValue(T aValue)
-
Methods inherited from class org.refcodes.criteria.AbstractCriteria
getName
-
Methods inherited from interface org.refcodes.criteria.CriteriaLeaf
withKey, withValue
-
-
-
-
Constructor Detail
-
AbstractCriteriaLeaf
public AbstractCriteriaLeaf(java.lang.String aName)
Constructs aCriteriaLeaf
with the given name.- Parameters:
aName
- The name of theCriteriaLeaf
.
-
AbstractCriteriaLeaf
public AbstractCriteriaLeaf(java.lang.String aName, java.lang.String aKey, T aValue)
Constructs aCriteriaLeaf
with the given name, key and value.- Parameters:
aName
- The name of theCriteriaLeaf
.aKey
- The value for theCriteriaLeaf
.aValue
- the value
-
-
Method Detail
-
getValue
public T getValue()
- Specified by:
getValue
in interfaceorg.refcodes.mixin.ValueAccessor<T>
-
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interfaceorg.refcodes.mixin.KeyAccessor<T>
-
setKey
public void setKey(java.lang.String aKey)
- Specified by:
setKey
in interfaceorg.refcodes.mixin.KeyAccessor.KeyMutator<T>
-
-