- 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.AttributeBuilderNested 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 Type Method Description default Attribute.AttributeBuilderwithKey(String aKey)With key.default Attribute.AttributeBuilderwithValue(Object aValue)With value.Methods inherited from interface org.refcodes.mixin.KeyAccessor
getKeyMethods inherited from interface org.refcodes.mixin.KeyAccessor.KeyMutator
setKeyMethods inherited from interface org.refcodes.mixin.KeyAccessor.KeyProperty
letKeyMethods inherited from interface org.refcodes.mixin.ValueAccessor
getValue, getValueOrMethods inherited from interface org.refcodes.mixin.ValueAccessor.ValueMutator
setValueMethods inherited from interface org.refcodes.mixin.ValueAccessor.ValueProperty
letValue
-
Method Details
-
withKey
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
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
-