Class RelationImpl.RelationBuilderImpl<K,​V>

  • Type Parameters:
    K - the key type
    V - the value type
    All Implemented Interfaces:
    org.refcodes.mixin.KeyAccessor<K>, org.refcodes.mixin.KeyAccessor.KeyBuilder<K,​Relation.RelationBuilder<K,​V>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K>, org.refcodes.mixin.KeyAccessor.KeyProperty<K>, org.refcodes.mixin.ValueAccessor<V>, org.refcodes.mixin.ValueAccessor.ValueBuilder<V,​Relation.RelationBuilder<K,​V>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V>, org.refcodes.mixin.ValueAccessor.ValueProperty<V>, Relation<K,​V>, Relation.RelationBuilder<K,​V>
    Enclosing class:
    RelationImpl<K,​V>

    public static class RelationImpl.RelationBuilderImpl<K,​V>
    extends RelationImpl<K,​V>
    implements Relation.RelationBuilder<K,​V>
    Implementation of the Relation.RelationBuilder interface.
    • Nested Class Summary

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

      Constructors 
      Constructor Description
      RelationBuilderImpl()
      Instantiates a new relation builder impl.
      RelationBuilderImpl​(K aKey, V aValue)
      Instantiates a new relation builder impl.
    • Constructor Detail

      • RelationBuilderImpl

        public RelationBuilderImpl()
        Instantiates a new relation builder impl.
      • RelationBuilderImpl

        public RelationBuilderImpl​(K aKey,
                                   V aValue)
        Instantiates a new relation builder impl.
        Parameters:
        aKey - the key
        aValue - the value
    • Method Detail

      • setKey

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

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