Class AttributeImpl.AttributeBuilderImpl
java.lang.Object
org.refcodes.struct.RelationImpl<String,Object>
org.refcodes.struct.AttributeImpl
org.refcodes.struct.AttributeImpl.AttributeBuilderImpl
- All Implemented Interfaces:
KeyAccessor<String>, KeyAccessor.KeyBuilder<String, Relation.RelationBuilder<String,Object>>, KeyAccessor.KeyMutator<String>, KeyAccessor.KeyProperty<String>, ValueAccessor<Object>, ValueAccessor.ValueBuilder<Object, Relation.RelationBuilder<String, Object>>, ValueAccessor.ValueMutator<Object>, ValueAccessor.ValueProperty<Object>, Attribute, Attribute.AttributeBuilder, Relation<String, Object>, Relation.RelationBuilder<String, Object>
- Enclosing class:
AttributeImpl
public static class AttributeImpl.AttributeBuilderImpl
extends AttributeImpl
implements Attribute.AttributeBuilder
Implementation of the
Property.PropertyBuilder interface.-
Nested Class Summary
Nested classes/interfaces inherited from class AttributeImpl
AttributeImpl.AttributeBuilderImplNested classes/interfaces inherited from class RelationImpl
RelationImpl.RelationBuilderImpl<K,V> Nested classes/interfaces inherited from interface Attribute
Attribute.AttributeBuilderNested classes/interfaces inherited from interface KeyAccessor
KeyAccessor.KeyBuilder<K,B>, KeyAccessor.KeyMutator<K>, KeyAccessor.KeyProperty<K> Nested classes/interfaces inherited from interface Relation
Relation.RelationBuilder<K,V> Nested classes/interfaces inherited from interface ValueAccessor
ValueAccessor.ValueBuilder<V,B>, ValueAccessor.ValueMutator<V>, ValueAccessor.ValueProperty<V> -
Field Summary
Fields inherited from class RelationImpl
_key, _value -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new attribute builder impl.AttributeBuilderImpl(String aKey, Object aValue) Instantiates a new attribute builder impl. -
Method Summary
Methods inherited from class RelationImpl
getKey, getValue, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Attribute.AttributeBuilder
withKey, withValueMethods inherited from interface KeyAccessor
getKeyMethods inherited from interface KeyAccessor.KeyProperty
letKeyMethods inherited from interface ValueAccessor
getValue, getValueOr, hasValueMethods inherited from interface ValueAccessor.ValueProperty
letValue
-
Constructor Details
-
AttributeBuilderImpl
public AttributeBuilderImpl()Instantiates a new attribute builder impl. -
AttributeBuilderImpl
-
-
Method Details
-
setKey
Sets the key.- Specified by:
setKeyin interfaceKeyAccessor.KeyMutator<String>- Parameters:
aKey- the new key
-
setValue
Sets the value.- Specified by:
setValuein interfaceValueAccessor.ValueMutator<Object>- Parameters:
aValue- the new value
-