Interface Property.PropertyBuilder
- All Superinterfaces:
org.refcodes.mixin.KeyAccessor<String>,org.refcodes.mixin.KeyAccessor.KeyBuilder<String,,Relation.RelationBuilder<String, String>> org.refcodes.mixin.KeyAccessor.KeyMutator<String>,org.refcodes.mixin.KeyAccessor.KeyProperty<String>,Property,Relation<String,,String> Relation.RelationBuilder<String,,String> org.refcodes.mixin.ValueAccessor<String>,org.refcodes.mixin.ValueAccessor.ValueBuilder<String,,Relation.RelationBuilder<String, String>> org.refcodes.mixin.ValueAccessor.ValueMutator<String>,org.refcodes.mixin.ValueAccessor.ValueProperty<String>
- All Known Implementing Classes:
PropertyImpl.PropertyBuilderImpl
- Enclosing interface:
Property
public static interface Property.PropertyBuilder
extends Property, Relation.RelationBuilder<String,String>
Adds builder functionality to a
Property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K, B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K>, org.refcodes.mixin.KeyAccessor.KeyProperty<K> Nested classes/interfaces inherited from interface org.refcodes.struct.Property
Property.PropertyBuilderNested 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,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V, B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V>, org.refcodes.mixin.ValueAccessor.ValueProperty<V> -
Method Summary
Modifier and TypeMethodDescriptiondefault Property.PropertyBuilderWith key.default Property.PropertyBuilderWith 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.struct.Property
toPropertyMethods inherited from interface org.refcodes.mixin.ValueAccessor
getValue, getValueOr, hasValueMethods 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, String>> - Specified by:
withKeyin interfaceRelation.RelationBuilder<String,String> - Parameters:
aKey- the key- Returns:
- the property builder
-
withValue
With value.- Specified by:
withValuein interfaceRelation.RelationBuilder<String,String> - Specified by:
withValuein interfaceorg.refcodes.mixin.ValueAccessor.ValueBuilder<String,Relation.RelationBuilder<String, String>> - Parameters:
aValue- the value- Returns:
- the property builder
-