| Package | Description |
|---|---|
| com.holonplatform.core.beans | |
| com.holonplatform.core.property | |
| com.holonplatform.core.query | |
| com.holonplatform.http.rest |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BeanProperty<T>
Represents a Java Bean property as a
PathProperty, providing additional configuration informations and
methods. |
static interface |
BeanProperty.Builder<T>
BeanProperty builder.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PropertySet<P extends Property>
|
static interface |
PropertySet.Builder<P extends Property>
Builder to create
PropertySet instances. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PathProperty<T>
|
static interface |
PathProperty.PathPropertyBuilder<T>
PathProperty builder. |
interface |
VirtualProperty<T>
A virtual
Property which relies on a PropertyValueProvider to provide its value, and it is not
directly connected with a data model attribute. |
static interface |
VirtualProperty.Builder<T,B extends VirtualProperty.Builder<T,B>>
Base interface for
VirtualProperty building. |
| Modifier and Type | Method and Description |
|---|---|
static <P extends Property> |
PropertySet.builder()
Builder to create and populate a
PropertySet. |
static <P extends Property> |
PropertyBox.builder(Iterable<P> properties)
Builder to create and populate a PropertyBox.
|
static <P extends Property> |
PropertyBox.builder(P... properties)
Builder to create and populate a PropertyBox.
|
default <P extends Property> |
PropertyBox.cloneBox(P... propertySet)
Clone this PropertyBox using given
propertySet, i.e. create a new PropertyBox and copy all given set
property values from this box to the newly created box. |
default <P extends Property> |
PropertyBox.cloneBox(PropertySet<P> propertySet)
Clone this PropertyBox using given
propertySet, i.e. create a new PropertyBox and copy all given set
property values from this box to the newly created box. |
static <P extends Property> |
PropertyBox.create(Iterable<P> properties)
Shorter method to create a PropertyBox with given
properties set. |
static <P extends Property> |
PropertyBox.create(P... properties)
Shorter method to create a PropertyBox with given
properties set. |
static <P extends Property> |
PropertySet.join(PropertySet<? extends P>... propertySets)
Join given
PropertySets and return a new PropertySet containing all the properties of given sets. |
static <P extends Property> |
PropertySet.of(Iterable<P> properties)
Create a new PropertySet containing all given
properties Iterable elements. |
static <P extends Property> |
PropertySet.of(P... properties)
Create a new PropertySet containing given
properties. |
static <P extends Property> |
PropertySet.of(PropertySet<? extends P> propertySet,
P... properties)
|
| Modifier and Type | Method and Description |
|---|---|
Property<T> |
PropertyBox.PropertyValue.getProperty()
Get the
Property. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Property<?>> |
Property.PropertyAccessException.getProperty()
Get the property to which exception is related
|
| Modifier and Type | Method and Description |
|---|---|
static <P extends Property> |
PropertyBox.builder(P... properties)
Builder to create and populate a PropertyBox.
|
default <P extends Property> |
PropertyBox.cloneBox(P... propertySet)
Clone this PropertyBox using given
propertySet, i.e. create a new PropertyBox and copy all given set
property values from this box to the newly created box. |
boolean |
PropertySet.contains(Property property)
Return
true if this set contains the given property. |
<T> boolean |
PropertyBox.containsValue(Property<T> property)
Check if this box contains given
property with a not null value. |
static <P extends Property> |
PropertyBox.create(P... properties)
Shorter method to create a PropertyBox with given
properties set. |
TYPE |
PropertyValueConverter.fromModel(MODEL value,
Property<TYPE> property)
Convert given value from model data type to property value type
|
<T> Optional<PropertyValuePresenter<T>> |
PropertyValuePresenterRegistry.getPresenter(Property<T> property)
Gets the
PropertyValuePresenter to use with given property according to registered
presenters. |
<R,T> Optional<PropertyRenderer<R,T>> |
PropertyRendererRegistry.getRenderer(Class<R> renderingType,
Property<T> property)
Gets the
PropertyRenderer to use with given property according to registered renderers for
given renderingType. |
<T> T |
PropertyBox.getValue(Property<T> property)
Get the value for given
property. |
<T> Optional<T> |
PropertyBox.getValueIfPresent(Property<T> property)
Get the value for given
property, if property is present in this box and has a not null
value. |
static <P extends Property> |
PropertySet.of(P... properties)
Create a new PropertySet containing given
properties. |
static <P extends Property> |
PropertySet.of(PropertySet<? extends P> propertySet,
P... properties)
|
default <T> String |
PropertyBox.present(Property<T> property)
Present given
property value, obtained from this PropertyBox, as a String, using current
PropertyValuePresenterRegistry if available as Context resource to obtain a suitable
PropertyValuePresenter, or default presenter PropertyValuePresenterRegistry.getDefault()
otherwise. |
String |
PropertyValuePresenter.present(Property<T> property,
T value)
|
R |
PropertyRenderer.render(Property<T> property)
Renders the given
property as a PropertyRenderer.getRenderType() object |
<T> PropertyBox.Builder |
PropertyBox.Builder.set(Property<T> property,
T value)
Set value of given
property. |
<T> PropertyBox.Builder |
PropertyBox.Builder.setIgnoreReadOnly(Property<T> property,
T value)
Set value of given
property, ignoring property read-only state. |
<T> void |
PropertyBox.setValue(Property<T> property,
T value)
Set the value of given
property. |
MODEL |
PropertyValueConverter.toModel(TYPE value,
Property<TYPE> property)
Convert given value from property value type to model data type
|
| Modifier and Type | Method and Description |
|---|---|
static <R,T> PropertyRenderer<R,T> |
PropertyRenderer.create(Class<? extends R> renderingType,
Function<Property<T>,R> renderer)
Create a
PropertyRenderer for given renderingType using given renderer
Function to perform actual property rendering. |
<R,T> void |
PropertyRendererRegistry.register(Predicate<Property<? extends T>> condition,
PropertyRenderer<R,? super T> renderer)
|
<T> void |
PropertyValuePresenterRegistry.register(Predicate<Property<? extends T>> condition,
PropertyValuePresenter<? super T> presenter)
|
| Constructor and Description |
|---|
PropertyAccessException(Property<?> property)
Default constructor
|
PropertyAccessException(Property<?> property,
String message)
Constructor with error message
|
PropertyAccessException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyAccessException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
PropertyConversionException(Property<?> property,
String message)
Constructor with error message
|
PropertyConversionException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyConversionException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
PropertyNotFoundException(Property<?> property,
String message)
Constructor
|
PropertyReadException(Property<?> property,
String message)
Constructor with error message
|
PropertyReadException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyReadException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
PropertyReadOnlyException(Property<?> property)
Construct a new PropertyReadOnlyException
|
PropertyWriteException(Property<?> property,
String message)
Constructor with error message
|
PropertyWriteException(Property<?> property,
String message,
Throwable cause)
Constructor with error message and nested exception
|
PropertyWriteException(Property<?> property,
Throwable cause)
Constructor with nested exception
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FunctionExpression.FunctionExpressionProperty<T>
A
FunctionExpression implemented as a Property. |
static interface |
FunctionExpression.PathFunctionExpressionProperty<P,T>
A
FunctionExpression.PathFunctionExpression implemented as a VirtualProperty. |
| Modifier and Type | Method and Description |
|---|---|
default <P extends Property> |
QueryResults.findOne(Iterable<P> properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default <P extends Property> |
QueryResults.list(Iterable<P> properties)
|
static <P extends Property> |
PropertySetProjection.of(Iterable<P> properties)
Create a PropertySetProjection using given
properties |
default <P extends Property> |
QueryResults.stream(Iterable<P> properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
| Modifier and Type | Method and Description |
|---|---|
Property<E> |
PropertyConstantExpression.getProperty()
Get the property to which the value is bound.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> PropertyConstantExpression<Collection<T>,T> |
PropertyConstantExpression.create(Property<T> property,
Collection<? extends T> values)
Create a
PropertyConstantExpression which represents a collection of constant values bound to a
Property. |
static <T> PropertyConstantExpression<Collection<T>,T> |
PropertyConstantExpression.create(Property<T> property,
T... values)
Create a
PropertyConstantExpression which represents a collection of constant values bound to a
Property. |
static <T> PropertyConstantExpression<T,T> |
PropertyConstantExpression.create(Property<T> property,
T value)
Create a
PropertyConstantExpression which represents a constant value bound to a Property. |
default Optional<PropertyBox> |
QueryResults.findOne(Property... properties)
Execute query and get an expected unique result as
PropertyBox using given properties as
projection. |
default List<PropertyBox> |
QueryResults.list(Property... properties)
|
default Stream<PropertyBox> |
QueryResults.stream(Property... properties)
Execute query and get a
Stream of query results as PropertyBox using given
properties as projection. |
| Modifier and Type | Method and Description |
|---|---|
<P extends Property> |
RestClient.RequestDefinition.propertySet(Iterable<P> properties)
Use given
Property set to perform invocation. |
<P extends Property> |
RestClient.RequestDefinition.propertySet(P... properties)
Use given
Property set to perform invocation. |
| Modifier and Type | Method and Description |
|---|---|
<P extends Property> |
RestClient.RequestDefinition.propertySet(P... properties)
Use given
Property set to perform invocation. |
Copyright © 2017 The Holon Platform. All rights reserved.