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,V>, org.refcodes.mixin.KeyAccessor.KeyMutator<K>, org.refcodes.mixin.KeyAccessor.KeyProperty<K>, org.refcodes.mixin.ValueAccessor<K>, org.refcodes.mixin.ValueAccessor.ValueBuilder<K,V>, org.refcodes.mixin.ValueAccessor.ValueMutator<K>, org.refcodes.mixin.ValueAccessor.ValueProperty<K>, 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 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
      RelationBuilderImpl​()
      Instantiates a new relation builder impl.
      RelationBuilderImpl​(K aKey, V aValue)
      Instantiates a new relation builder impl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setKey​(K aKey)
      Sets the key.
      void setValue​(V 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, getValueOr
    • 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