public interface Selection
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
addProperty(Type rootType,
String path)
Adds the given given property to the
selection for the given graph root type and
returns any types collected during traversal
of the property path.
|
List<Function> |
getFunctions(Property property)
Returns the functions for the given property or empty list
if the given property has no functions.
|
List<Function> |
getFunctions(Property property,
int level)
Returns the functions for the given property for the given
traversal level or graph depth, or empty list
if the given property has no functions.
|
Set<Property> |
getInheritedProperties(Type type)
Returns the unique set of inherited data and reference
properties collected for the given type, and any base types
of the given type, irrespective
of the (query) graph level.
|
Set<Property> |
getInheritedProperties(Type type,
int level)
Returns the unique set of inherited data and reference
properties collected for the given type, and any base types
of the given type, for the given
(query) graph level.
|
Set<Property> |
getInheritedProperties(Type type,
Property sourceProperty)
Returns the unique set of inherited data and reference
properties collected for the given Type for the given
(query) graph edge source property.
|
Set<Property> |
getInheritedProperties(Type type,
Property sourceProperty,
int level)
Returns the unique set of inherited data and reference
properties collected for the given Type for the given
(query) graph edge source property at the given traversal
level or graph depth.
|
List<Type> |
getInheritedTypes()
Returns all selected types and as well as types
which specialize or inherit from the selected types.
|
Where |
getPredicate(Property property)
Returns the predicate for the given property or null
if the given property has no predicates.
|
Where |
getPredicate(Property property,
int level)
Returns the predicate , if exists, collected for the given property for the given
traversal level or graph depth.
|
Where |
getPredicate(Property property,
Property sourceProperty)
Returns the predicate, if exists, collected for the given property and for the given
(query) graph edge source property.
|
Set<Property> |
getProperties(Type type)
Returns the unique set of data and reference
properties collected for the given type irrespective
of the (query) graph level, or source graph edge type.
|
Set<Property> |
getProperties(Type type,
int level)
Returns the unique set of data and reference
properties collected for the given Type for the given
(query) graph level.
|
Set<Property> |
getProperties(Type type,
Property sourceProperty)
Returns the unique set of data and reference
properties collected for the given Type for the given
(query) graph edge source property.
|
Set<Property> |
getProperties(Type type,
Property sourceProperty,
int level)
Returns the unique set of data and reference
properties collected for the given Type for the given
(query) graph edge source property at the given traversal
level or graph depth.
|
Set<Property> |
getSingularProperties(Type type)
Returns the unique set of singular data and reference
properties collected for the given type irrespective
of the (query) graph level, or source graph edge type.
|
List<Type> |
getTypes()
Returns all selected types.
|
boolean |
hasInheritedProperty(Type type,
Property property)
Returns true if the given type is found in the inherited type selection and if the
given property is found in the property selection for the
given type.
|
boolean |
hasInheritedType(Type type)
Returns true if the given type is found in the
inherited type selection.
|
boolean |
hasPredicates()
Returns true if the selection has path predicates.
|
boolean |
hasProperty(Type type,
Property property)
Returns true if the given type is found in the type selection and if the
given property is found in the property selection for the
given type.
|
boolean |
hasType(Type type)
Returns true if the given type is found in the
type selection.
|
boolean hasType(Type type)
type - the typeList<Type> getInheritedTypes()
boolean hasInheritedType(Type type)
type - the typeboolean hasProperty(Type type, Property property)
type - the typeproperty - the propertyboolean hasInheritedProperty(Type type, Property property)
type - the typeproperty - the propertyList<Type> addProperty(Type rootType, String path)
rootType - the graph root typepath - the SDO XPath specifying a path from the given root type
to a target or endpoint propertySet<Property> getProperties(Type type)
type - the typeSet<Property> getSingularProperties(Type type)
type - the typeSet<Property> getInheritedProperties(Type type)
type - the typeSet<Property> getInheritedProperties(Type type, int level)
type - the typelevel - the specific graph level where the properties were specified in the selectionSet<Property> getInheritedProperties(Type type, Property sourceProperty)
type - the type (query) graph edge source propertysourceProperty - thelevel - the specific graph level where the properties were specified in the selectionSet<Property> getInheritedProperties(Type type, Property sourceProperty, int level)
type - the type (query) graph edge source propertysourceProperty - thelevel - the traversal level or graph depthSet<Property> getProperties(Type type, int level)
type - the typelevel - the specific graph level where the properties were specified in the selectionSet<Property> getProperties(Type type, Property sourceProperty)
type - the type (query) graph edge source propertysourceProperty - the (query) graph edge source propertySet<Property> getProperties(Type type, Property sourceProperty, int level)
type - the type (query) graph edge source propertysourceProperty - the (query) graph edge source propertylevel - the traversal level or graph depthboolean hasPredicates()
Where getPredicate(Property property)
property - the propertyWhere getPredicate(Property property, Property sourceProperty)
property - the source propertysourceProperty - the (query) graph edge source propertyWhere getPredicate(Property property, int level)
type - the type (query) graph edge source propertysourceProperty - thelevel - the traversal level or graph depthList<Function> getFunctions(Property property)
property - the propertyList<Function> getFunctions(Property property, int level)
property - the propertylevel - the traversal level or graph depthCopyright © 2017. All rights reserved.