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.
  • 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