Class ShortPropertyBuilder
- java.lang.Object
-
- io.github.mmm.property.builder.PropertyBuilder<V,P,B,SELF>
-
- io.github.mmm.property.builder.lang.ComparablePropertyBuilder<Short,ShortProperty,ValidatorBuilderShort<ShortPropertyBuilder>,ShortPropertyBuilder>
-
- io.github.mmm.property.builder.number.ShortPropertyBuilder
-
public final class ShortPropertyBuilder extends ComparablePropertyBuilder<Short,ShortProperty,ValidatorBuilderShort<ShortPropertyBuilder>,ShortPropertyBuilder>
- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from class io.github.mmm.property.builder.PropertyBuilder
expression, value
-
-
Constructor Summary
Constructors Constructor Description ShortPropertyBuilder()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ShortProperty
build(String name, PropertyMetadata<Short> metadata)
protected ValidatorBuilderShort<ShortPropertyBuilder>
createValidatorBuilder()
-
Methods inherited from class io.github.mmm.property.builder.lang.ComparablePropertyBuilder
asRange
-
Methods inherited from class io.github.mmm.property.builder.PropertyBuilder
asList, asMap, asMap, asSet, build, build, builder, factory, metadata, metadataFactory, registry, self, value, valueExpression, withValidator
-
-
-
-
Method Detail
-
createValidatorBuilder
protected ValidatorBuilderShort<ShortPropertyBuilder> createValidatorBuilder()
- Specified by:
createValidatorBuilder
in classPropertyBuilder<Short,ShortProperty,ValidatorBuilderShort<ShortPropertyBuilder>,ShortPropertyBuilder>
- Returns:
- the
ObjectValidatorBuilder
corresponding to this type of builder.
-
build
protected ShortProperty build(String name, PropertyMetadata<Short> metadata)
- Specified by:
build
in classPropertyBuilder<Short,ShortProperty,ValidatorBuilderShort<ShortPropertyBuilder>,ShortPropertyBuilder>
- Parameters:
name
- theproperty name
of theProperty
to build.metadata
- thePropertyMetadata
.- Returns:
- the
Property
tobuild
.
-
-