Interface Attribute.AttributeBuilder

  • All Superinterfaces:
    Attribute, org.refcodes.mixin.KeyAccessor<java.lang.String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<java.lang.String,java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyMutator<java.lang.String>, org.refcodes.mixin.KeyAccessor.KeyProperty<java.lang.String>, Relation<java.lang.String,java.lang.Object>, Relation.RelationBuilder<java.lang.String,java.lang.Object>, org.refcodes.mixin.ValueAccessor<java.lang.String>, org.refcodes.mixin.ValueAccessor.ValueBuilder<java.lang.String,java.lang.Object>, org.refcodes.mixin.ValueAccessor.ValueMutator<java.lang.String>, org.refcodes.mixin.ValueAccessor.ValueProperty<java.lang.String>
    All Known Implementing Classes:
    AttributeImpl.AttributeBuilderImpl
    Enclosing interface:
    Attribute


    public static interface Attribute.AttributeBuilder
    extends Attribute, Relation.RelationBuilder<java.lang.String,java.lang.Object>
    Adds builder functionality to an Attribute.
    • 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>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default Attribute.AttributeBuilder withKey​(java.lang.String aKey)
      With key.
      default Attribute.AttributeBuilder withValue​(java.lang.Object aValue)
      With value.
      • Methods inherited from interface org.refcodes.mixin.KeyAccessor

        getKey
      • Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyMutator

        setKey
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor

        getValue
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueMutator

        setValue
    • Method Detail

      • withKey

        default Attribute.AttributeBuilder withKey​(java.lang.String aKey)
        With key.
        Specified by:
        withKey in interface org.refcodes.mixin.KeyAccessor.KeyBuilder<java.lang.String,java.lang.Object>
        Specified by:
        withKey in interface Relation.RelationBuilder<java.lang.String,java.lang.Object>
        Parameters:
        aKey - the key
        Returns:
        the attribute builder
      • withValue

        default Attribute.AttributeBuilder withValue​(java.lang.Object aValue)
        With value.
        Specified by:
        withValue in interface Relation.RelationBuilder<java.lang.String,java.lang.Object>
        Specified by:
        withValue in interface org.refcodes.mixin.ValueAccessor.ValueBuilder<java.lang.String,java.lang.Object>
        Parameters:
        aValue - the value
        Returns:
        the attribute builder