Interface Relation.RelationBuilder<K,V>
- Type Parameters:
K- The key's typeV- The value's type
- All Superinterfaces:
KeyAccessor<K>, KeyAccessor.KeyBuilder<K, Relation.RelationBuilder<K,V>>, KeyAccessor.KeyMutator<K>, KeyAccessor.KeyProperty<K>, Relation<K, V>, ValueAccessor<V>, ValueAccessor.ValueBuilder<V, Relation.RelationBuilder<K, V>>, ValueAccessor.ValueMutator<V>, ValueAccessor.ValueProperty<V>
- All Known Subinterfaces:
Attribute.AttributeBuilder, Property.PropertyBuilder
- All Known Implementing Classes:
AttributeImpl.AttributeBuilderImpl, PropertyImpl.PropertyBuilderImpl, RelationImpl.RelationBuilderImpl
public static interface Relation.RelationBuilder<K,V>
extends KeyAccessor.KeyProperty<K>, ValueAccessor.ValueProperty<V>, Relation<K,V>, KeyAccessor.KeyBuilder<K, Relation.RelationBuilder<K,V>>, ValueAccessor.ValueBuilder<V, Relation.RelationBuilder<K,V>>
Adds builder functionality to a
Relation.-
Nested Class Summary
Nested classes/interfaces inherited from interface KeyAccessor
KeyAccessor.KeyBuilder<K,B>, KeyAccessor.KeyMutator<K>, KeyAccessor.KeyProperty<K> Nested classes/interfaces inherited from interface Relation
Relation.RelationBuilder<K,V> Nested classes/interfaces inherited from interface ValueAccessor
ValueAccessor.ValueBuilder<V,B>, ValueAccessor.ValueMutator<V>, ValueAccessor.ValueProperty<V> -
Method Summary
Modifier and TypeMethodDescriptiondefault Relation.RelationBuilder<K, V> With key.default Relation.RelationBuilder<K, V> With value.Methods inherited from interface KeyAccessor
getKeyMethods inherited from interface KeyAccessor.KeyMutator
setKeyMethods inherited from interface KeyAccessor.KeyProperty
letKeyMethods inherited from interface ValueAccessor
getValue, getValueOr, hasValueMethods inherited from interface ValueAccessor.ValueMutator
setValueMethods inherited from interface ValueAccessor.ValueProperty
letValue
-
Method Details
-
withKey
With key.- Specified by:
withKeyin interfaceKeyAccessor.KeyBuilder<K,V> - Parameters:
aKey- the key- Returns:
- the relation builder
-
withValue
With value.- Specified by:
withValuein interfaceValueAccessor.ValueBuilder<K,V> - Parameters:
aValue- the value- Returns:
- the relation builder
-