Package org.refcodes.structure
Interface Attribute.AttributeBuilder
-
- All Superinterfaces:
Attribute,org.refcodes.mixin.KeyAccessor<java.lang.String>,org.refcodes.mixin.KeyAccessor.KeyBuilder<java.lang.String,java.lang.Object>,org.refcodes.mixin.KeyAccessor.KeyMutator<java.lang.String>,org.refcodes.mixin.KeyAccessor.KeyProperty<java.lang.String>,Relation<java.lang.String,java.lang.Object>,Relation.RelationBuilder<java.lang.String,java.lang.Object>,org.refcodes.mixin.ValueAccessor<java.lang.String>,org.refcodes.mixin.ValueAccessor.ValueBuilder<java.lang.String,java.lang.Object>,org.refcodes.mixin.ValueAccessor.ValueMutator<java.lang.String>,org.refcodes.mixin.ValueAccessor.ValueProperty<java.lang.String>
- All Known Implementing Classes:
AttributeImpl.AttributeBuilderImpl
- Enclosing interface:
- Attribute
public static interface Attribute.AttributeBuilder extends Attribute, Relation.RelationBuilder<java.lang.String,java.lang.Object>
Adds builder functionality to anAttribute.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Attribute
Attribute.AttributeBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Relation
Relation.RelationBuilder<K,V>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends java.lang.Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends java.lang.Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends java.lang.Object>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Attribute.AttributeBuilderwithKey(java.lang.String aKey)With key.default Attribute.AttributeBuilderwithValue(java.lang.Object aValue)With value.
-
-
-
Method Detail
-
withKey
default Attribute.AttributeBuilder withKey(java.lang.String aKey)
With key.- Specified by:
withKeyin interfaceorg.refcodes.mixin.KeyAccessor.KeyBuilder<java.lang.String,java.lang.Object>- Specified by:
withKeyin interfaceRelation.RelationBuilder<java.lang.String,java.lang.Object>- Parameters:
aKey- the key- Returns:
- the attribute builder
-
withValue
default Attribute.AttributeBuilder withValue(java.lang.Object aValue)
With value.- Specified by:
withValuein interfaceRelation.RelationBuilder<java.lang.String,java.lang.Object>- Specified by:
withValuein interfaceorg.refcodes.mixin.ValueAccessor.ValueBuilder<java.lang.String,java.lang.Object>- Parameters:
aValue- the value- Returns:
- the attribute builder
-
-