-
- 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 anAttribute.
-
-
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
All Methods Instance Methods Default Methods Modifier and Type Method Description default Attribute.AttributeBuilderwithKey(String aKey)With key.default Attribute.AttributeBuilderwithValue(Object aValue)With value.
-
-
-
Method Detail
-
withKey
default Attribute.AttributeBuilder withKey(String aKey)
With key.- Specified by:
withKeyin interfaceorg.refcodes.mixin.KeyAccessor.KeyBuilder<String,Relation.RelationBuilder<String,Object>>- Specified by:
withKeyin interfaceRelation.RelationBuilder<String,Object>- Parameters:
aKey- the key- Returns:
- the attribute builder
-
withValue
default Attribute.AttributeBuilder withValue(Object aValue)
With value.- Specified by:
withValuein interfaceRelation.RelationBuilder<String,Object>- Specified by:
withValuein interfaceorg.refcodes.mixin.ValueAccessor.ValueBuilder<Object,Relation.RelationBuilder<String,Object>>- Parameters:
aValue- the value- Returns:
- the attribute builder
-
-