- All Superinterfaces:
Attribute
,org.refcodes.mixin.KeyAccessor<String>
,org.refcodes.mixin.KeyAccessor.KeyBuilder<String,
,Relation.RelationBuilder<String, Object>> org.refcodes.mixin.KeyAccessor.KeyMutator<String>
,org.refcodes.mixin.KeyAccessor.KeyProperty<String>
,Relation<String,
,Object> Relation.RelationBuilder<String,
,Object> org.refcodes.mixin.ValueAccessor<Object>
,org.refcodes.mixin.ValueAccessor.ValueBuilder<Object,
,Relation.RelationBuilder<String, Object>> org.refcodes.mixin.ValueAccessor.ValueMutator<Object>
,org.refcodes.mixin.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 org.refcodes.struct.Attribute
Attribute.AttributeBuilder
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.struct.Relation
Relation.RelationBuilder<K,
V> 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
Modifier and TypeMethodDescriptiondefault Attribute.AttributeBuilder
With key.default Attribute.AttributeBuilder
With value.Methods inherited from interface org.refcodes.mixin.KeyAccessor
getKey
Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyMutator
setKey
Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyProperty
letKey
Methods inherited from interface org.refcodes.mixin.ValueAccessor
getValue, getValueOr
Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueMutator
setValue
Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueProperty
letValue
-
Method Details
-
withKey
With key.- Specified by:
withKey
in interfaceorg.refcodes.mixin.KeyAccessor.KeyBuilder<String,
Relation.RelationBuilder<String, Object>> - Specified by:
withKey
in interfaceRelation.RelationBuilder<String,
Object> - Parameters:
aKey
- the key- Returns:
- the attribute builder
-
withValue
With value.- Specified by:
withValue
in interfaceRelation.RelationBuilder<String,
Object> - Specified by:
withValue
in interfaceorg.refcodes.mixin.ValueAccessor.ValueBuilder<Object,
Relation.RelationBuilder<String, Object>> - Parameters:
aValue
- the value- Returns:
- the attribute builder
-