Class 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 the Property.PropertyBuilder interface.
    • 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.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
      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.mixin.KeyAccessor

        getKey
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor

        getValue
    • Constructor Detail

      • AttributeBuilderImpl

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

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

      • setKey

        public void setKey​(java.lang.String aKey)
        Sets the key.
        Specified by:
        setKey in interface org.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 interface org.refcodes.mixin.ValueAccessor.ValueMutator<java.lang.Object>
        Parameters:
        aValue - the new value