Package org.refcodes.structure
Class RelationImpl<K,V>
- java.lang.Object
-
- org.refcodes.structure.RelationImpl<K,V>
-
- Type Parameters:
K
- The generic key's typeV
- The generic value's type
- All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<K>
,org.refcodes.mixin.ValueAccessor<K>
,Relation<K,V>
- Direct Known Subclasses:
AttributeImpl
,PropertyImpl
,RelationImpl.RelationBuilderImpl
public class RelationImpl<K,V> extends java.lang.Object implements Relation<K,V>
Implementation of theRelation
interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelationImpl.RelationBuilderImpl<K,V>
Implementation of theRelation.RelationBuilder
interface.-
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.structure.Relation
Relation.RelationBuilder<K,V>
-
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 Modifier Constructor Description protected
RelationImpl()
Instantiates a new relation impl.RelationImpl(K aKey, V aValue)
Constructs aRelation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
V
getValue()
java.lang.String
toString()
-