Interface Attribute.AttributeBuilder
- All Superinterfaces:
Attribute, KeyAccessor<String>, KeyAccessor.KeyBuilder<String, Relation.RelationBuilder<String,Object>>, KeyAccessor.KeyMutator<String>, KeyAccessor.KeyProperty<String>, Relation<String, Object>, Relation.RelationBuilder<String, Object>, ValueAccessor<Object>, ValueAccessor.ValueBuilder<Object, Relation.RelationBuilder<String, Object>>, ValueAccessor.ValueMutator<Object>, ValueAccessor.ValueProperty<Object>
- All Known Implementing Classes:
AttributeImpl.AttributeBuilderImpl
- Enclosing interface:
Attribute
public static interface Attribute.AttributeBuilder
extends Attribute, Relation.RelationBuilder<String,Object>
Adds builder functionality to an
Attribute.-
Nested Class Summary
Nested classes/interfaces inherited from interface Attribute
Attribute.AttributeBuilderNested 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 Attribute.AttributeBuilderWith key.default Attribute.AttributeBuilderWith 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<String, Relation.RelationBuilder<String,Object>> - Specified by:
withKeyin interfaceRelation.RelationBuilder<String,Object> - Parameters:
aKey- the key- Returns:
- the attribute builder
-
withValue
With value.- Specified by:
withValuein interfaceRelation.RelationBuilder<String,Object> - Specified by:
withValuein interfaceValueAccessor.ValueBuilder<Object, Relation.RelationBuilder<String,Object>> - Parameters:
aValue- the value- Returns:
- the attribute builder
-