Package org.refcodes.structure
Class AttributeImpl.AttributeBuilderImpl
- java.lang.Object
-
- org.refcodes.structure.RelationImpl<java.lang.String,java.lang.Object>
-
- org.refcodes.structure.AttributeImpl
-
- org.refcodes.structure.AttributeImpl.AttributeBuilderImpl
-
- All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<java.lang.String>
,org.refcodes.mixin.KeyAccessor.KeyBuilder<java.lang.String,Relation.RelationBuilder<java.lang.String,java.lang.Object>>
,org.refcodes.mixin.KeyAccessor.KeyMutator<java.lang.String>
,org.refcodes.mixin.KeyAccessor.KeyProperty<java.lang.String>
,org.refcodes.mixin.ValueAccessor<java.lang.Object>
,org.refcodes.mixin.ValueAccessor.ValueBuilder<java.lang.Object,Relation.RelationBuilder<java.lang.String,java.lang.Object>>
,org.refcodes.mixin.ValueAccessor.ValueMutator<java.lang.Object>
,org.refcodes.mixin.ValueAccessor.ValueProperty<java.lang.Object>
,Attribute
,Attribute.AttributeBuilder
,Relation<java.lang.String,java.lang.Object>
,Relation.RelationBuilder<java.lang.String,java.lang.Object>
- Enclosing class:
- AttributeImpl
public static class AttributeImpl.AttributeBuilderImpl extends AttributeImpl implements Attribute.AttributeBuilder
Implementation of theProperty.PropertyBuilder
interface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Attribute
Attribute.AttributeBuilder
-
Nested classes/interfaces inherited from class org.refcodes.structure.AttributeImpl
AttributeImpl.AttributeBuilderImpl
-
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.structure.Relation
Relation.RelationBuilder<K,V>
-
Nested classes/interfaces inherited from class org.refcodes.structure.RelationImpl
RelationImpl.RelationBuilderImpl<K,V>
-
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>
-
-
Field Summary
-
Fields inherited from class org.refcodes.structure.RelationImpl
_key, _value
-
-
Constructor Summary
Constructors Constructor Description AttributeBuilderImpl()
Instantiates a new attribute builder impl.AttributeBuilderImpl(java.lang.String aKey, java.lang.Object aValue)
Instantiates a new attribute builder impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setKey(java.lang.String aKey)
Sets the key.void
setValue(java.lang.Object aValue)
Sets the value.-
Methods inherited from interface org.refcodes.structure.Attribute.AttributeBuilder
withKey, withValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class org.refcodes.structure.RelationImpl
getKey, getValue, toString
-
-
-
-
Method Detail
-
setKey
public void setKey(java.lang.String aKey)
Sets the key.- Specified by:
setKey
in interfaceorg.refcodes.mixin.KeyAccessor.KeyMutator<java.lang.String>
- Parameters:
aKey
- the new key
-
setValue
public void setValue(java.lang.Object aValue)
Sets the value.- Specified by:
setValue
in interfaceorg.refcodes.mixin.ValueAccessor.ValueMutator<java.lang.Object>
- Parameters:
aValue
- the new value
-
-