Class AttributeImpl.AttributeBuilderImpl

All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<String,Relation.RelationBuilder<String,Object>>, org.refcodes.mixin.KeyAccessor.KeyMutator<String>, org.refcodes.mixin.KeyAccessor.KeyProperty<String>, org.refcodes.mixin.ValueAccessor<Object>, org.refcodes.mixin.ValueAccessor.ValueBuilder<Object,Relation.RelationBuilder<String,Object>>, org.refcodes.mixin.ValueAccessor.ValueMutator<Object>, org.refcodes.mixin.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 org.refcodes.struct.AttributeImpl

    AttributeImpl.AttributeBuilderImpl

    Nested classes/interfaces inherited from class org.refcodes.struct.RelationImpl

    RelationImpl.RelationBuilderImpl<K,V>

    Nested classes/interfaces inherited from interface org.refcodes.struct.Attribute

    Attribute.AttributeBuilder

    Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor

    org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.struct.Relation

    Relation.RelationBuilder<K,V>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor

    org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object>
  • Field Summary

    Fields inherited from class org.refcodes.struct.RelationImpl

    _key, _value
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new attribute builder impl.
    Instantiates a new attribute builder impl.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setKey(String aKey)
    Sets the key.
    void
    setValue(Object aValue)
    Sets the value.

    Methods inherited from class org.refcodes.struct.RelationImpl

    getKey, getValue, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.refcodes.struct.Attribute.AttributeBuilder

    withKey, withValue

    Methods inherited from interface org.refcodes.mixin.KeyAccessor

    getKey

    Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyProperty

    letKey

    Methods inherited from interface org.refcodes.mixin.ValueAccessor

    getValue, getValueOr

    Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueProperty

    letValue
  • Constructor Details

    • AttributeBuilderImpl

      public AttributeBuilderImpl()
      Instantiates a new attribute builder impl.
    • AttributeBuilderImpl

      public AttributeBuilderImpl(String aKey, Object aValue)
      Instantiates a new attribute builder impl.
      Parameters:
      aKey - the key
      aValue - the value
  • Method Details

    • setKey

      public void setKey(String aKey)
      Sets the key.
      Specified by:
      setKey in interface org.refcodes.mixin.KeyAccessor.KeyMutator<String>
      Parameters:
      aKey - the new key
    • setValue

      public void setValue(Object aValue)
      Sets the value.
      Specified by:
      setValue in interface org.refcodes.mixin.ValueAccessor.ValueMutator<Object>
      Parameters:
      aValue - the new value