N
- Property typepublic interface NumericProperty<N extends Number> extends PathProperty<N>, NumericQueryExpression<N>
PathProperty
.
Extends NumericQueryExpression
to provide Number
type related query expression builder methods.
Modifier and Type | Interface and Description |
---|---|
static interface |
NumericProperty.NumericPropertyBuilder<N extends Number>
NumericProperty builder. |
PathProperty.Builder<T,P extends Path<T> & Property<T>,B extends PathProperty.Builder<T,P,B>>, PathProperty.PathPropertyBuilder<T>
CloneableProperty.CloneablePathProperty<T,P extends Property<T> & Path<T>>
Property.PropertyAccessException, Property.PropertyNotFoundException, Property.PropertyReadException, Property.PropertyReadOnlyException, Property.PropertyWriteException
Localizable.LocalizableBuilder, Localizable.LocalizationException
Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException
Path.FinalPath<T>, Path.PathBuilder<T>
PATH_HIERARCHY_SEPARATOR
DEFAULT_CONFIG_PROPERTY_PREFIX, PATH
isReadOnly
getConfiguration, getConvertedValue, getConverter, getExpressionValueConverter, getName, getTemporalType, getType, present, render, renderIfAvailable
getValidators, validate
builder, getMessage, getMessageArguments, getMessageCode, of, of
hasConfiguration
getModelType, getModelValue
isCollectionExpression, isConverterExpression
validate
asc, desc, from
fullName, fullName, getName, getParent, isRootPath, of, relativeName, relativeName, stream
getDataPath, isDataMappable
between, count, eq, eq, goe, goe, gt, gt, in, in, in, isNotNull, isNull, loe, loe, lt, lt, max, min, neq, neq, nin, nin, nin
bean, constant, countAll, path, propertySet, propertySet
avg, sum
NumericProperty<N> clone(Consumer<PathProperty.Builder<N,PathProperty<N>,?>> builder)
clone
in interface CloneableProperty<N extends Number,PathProperty<N extends Number>,PathProperty.Builder<N extends Number,PathProperty<N extends Number>,?>>
builder
- A property builder which can be used to perform additional property configurationstatic <T extends Number> NumericProperty.NumericPropertyBuilder<T> create(String name, Class<? extends T> type)
create
in interface PathExpression<N extends Number>
create
in interface PathProperty<N extends Number>
T
- Property (path) typename
- Property name (not null)type
- Property value type (not null)NumericProperty
builderstatic <T extends Number> NumericProperty.NumericPropertyBuilder<T> create(Path<T> path)
create
in interface PathProperty<N extends Number>
T
- Path typepath
- Path from which to obtain the property path name and type (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<Integer> integerType(String name)
Integer
type NumericProperty
.name
- Property name (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<Long> longType(String name)
Long
type NumericProperty
.name
- Property name (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<Double> doubleType(String name)
Double
type NumericProperty
.name
- Property name (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<Float> floatType(String name)
Float
type NumericProperty
.name
- Property name (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<Short> shortType(String name)
Short
type NumericProperty
.name
- Property name (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<Byte> byteType(String name)
Byte
type NumericProperty
.name
- Property name (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<BigDecimal> bigDecimalType(String name)
BigDecimal
type NumericProperty
.name
- Property name (not null)NumericProperty
builderstatic NumericProperty.NumericPropertyBuilder<BigInteger> bigIntegerType(String name)
BigInteger
type NumericProperty
.name
- Property name (not null)NumericProperty
builderCopyright © 2018 The Holon Platform. All rights reserved.