Interface Relation<K,V>

Type Parameters:
K - The key's type
V - The value's type
All Superinterfaces:
org.refcodes.mixin.KeyAccessor<K>, org.refcodes.mixin.ValueAccessor<V>
All Known Subinterfaces:
Attribute, Attribute.AttributeBuilder, Property, Property.PropertyBuilder, Relation.RelationBuilder<K,V>
All Known Implementing Classes:
AttributeImpl, AttributeImpl.AttributeBuilderImpl, PropertyImpl, PropertyImpl.PropertyBuilderImpl, RelationImpl, RelationImpl.RelationBuilderImpl

public interface Relation<K,V> extends org.refcodes.mixin.KeyAccessor<K>, org.refcodes.mixin.ValueAccessor<V>
Provides an accessor for a key-to-value property useful in some occasions.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Adds builder functionality to a Relation.

    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>
  • Method Summary

    Methods inherited from interface org.refcodes.mixin.KeyAccessor

    getKey

    Methods inherited from interface org.refcodes.mixin.ValueAccessor

    getValue, getValueOr