Class RelationalPredicates
java.lang.Object
org.springframework.data.relational.core.mapping.RelationalPredicates
Collection of relational predicates.
- Since:
- 4.0
- Author:
- Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Predicate<? super RelationalPersistentProperty> Predicate to determine whether a property is a relation (i.e. it is an entity, not an identifier property, and not an embedded property).static booleanisRelation(RelationalPersistentProperty property) Determine whether a property is a relation (i.e. it is an entity, not an identifier property, and not an embedded property).
-
Constructor Details
-
RelationalPredicates
public RelationalPredicates()
-
-
Method Details
-
isRelation
Predicate to determine whether a property is a relation (i.e. it is an entity, not an identifier property, and not an embedded property).- Returns:
- a predicate that tests if the given property is a relation.
-
isRelation
Determine whether a property is a relation (i.e. it is an entity, not an identifier property, and not an embedded property).- Returns:
- true if the property is a relation; false otherwise.
-