@Incubating public interface PojoModelCompositeElement extends PojoModelElement
Offers ways to create accessors allowing
to retrieve data from objects passed to bridges.
PojoModelType,
PojoModelProperty| Modifier and Type | Method and Description |
|---|---|
PojoElementAccessor<?> |
createAccessor() |
<T> PojoElementAccessor<T> |
createAccessor(Class<T> type) |
Stream<? extends PojoModelProperty> |
properties() |
PojoModelProperty |
property(String name) |
isAssignableTo<T> PojoElementAccessor<T> createAccessor(Class<T> type)
T - The expected type of values returned by the accessor.type - The expected type of values returned by the accessor.org.hibernate.search.util.common.SearchException - If this element
is not assignable to the given type.PojoElementAccessor<?> createAccessor()
PojoModelProperty property(String name)
name - The name of a property.Stream<? extends PojoModelProperty> properties()
Stream of all properties of the current element.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.