org.plasma.query.collector
Interface PropertySelection

All Known Implementing Classes:
PropertySelectionCollector

Deprecated.

@Deprecated
public interface PropertySelection

Provides access to various property mapping data collected from a selection graph.


Method Summary
 List<Type> addProperty(Type rootType, String path)
          Deprecated. 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.
 void collect(Where predicate)
          Deprecated. Traverses the given predicate adding its properties and property paths to the selection.
 List<String> getInheritedProperties(Type type)
          Deprecated. Returns a list of data and reference property names collected specifically for the given type or collected for any base type of the given type.
 List<Type> getInheritedTypes()
          Deprecated. Returns all selected types and as well as types specialize or inherit from the selected types.
 Where getPredicate(Property property)
          Deprecated. Returns the predicate for the given property or null if the given property is not mapped.
 List<String> getProperties(Type type)
          Deprecated. Returns a list of data and reference property names collected for the given type.
 List<String> getSingularProperties(Type type)
          Deprecated. Returns a list of only singular data and reference property names collected for the given type.
 List<Type> getTypes()
          Deprecated. Returns all selected types.
 boolean hasInheritedProperty(Type type, Property property)
          Deprecated. 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)
          Deprecated. Returns true if the given type is found in the inherited type selection.
 boolean hasProperty(Type type, Property property)
          Deprecated. 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)
          Deprecated. Returns true if the given type is found in the type selection.
 

Method Detail

collect

void collect(Where predicate)
Deprecated. 
Traverses the given predicate adding its properties and property paths to the selection.

Parameters:
predicate - the predicate

getPredicate

Where getPredicate(Property property)
Deprecated. 
Returns the predicate for the given property or null if the given property is not mapped.

Parameters:
property - the property
Returns:
the predicate for the given property or null if the given property is not mapped.

getSingularProperties

List<String> getSingularProperties(Type type)
Deprecated. 
Returns a list of only singular data and reference property names collected for the given type.

Parameters:
type - the type
Returns:
a list of only singular data and reference property names collected for the given type.

getProperties

List<String> getProperties(Type type)
Deprecated. 
Returns a list of data and reference property names collected for the given type.

Parameters:
type - the type
Returns:
a list of data and reference property names collected for the given type.

getInheritedProperties

List<String> getInheritedProperties(Type type)
Deprecated. 
Returns a list of data and reference property names collected specifically for the given type or collected for any base type of the given type.

Parameters:
type - the type
Returns:
a list of data and reference property names collected specifically for the given type or collected for any base type of the given type.

getTypes

List<Type> getTypes()
Deprecated. 
Returns all selected types.

Returns:
all selected types.

hasType

boolean hasType(Type type)
Deprecated. 
Returns true if the given type is found in the type selection.

Parameters:
type - the type
Returns:
true if the given type is found in the type selection.

getInheritedTypes

List<Type> getInheritedTypes()
Deprecated. 
Returns all selected types and as well as types specialize or inherit from the selected types.

Returns:
all selected types and as well as types specialize or inherit from the selected types.

hasInheritedType

boolean hasInheritedType(Type type)
Deprecated. 
Returns true if the given type is found in the inherited type selection.

Parameters:
type - the type
Returns:
true if the given type is found in the inherited type selection.

hasProperty

boolean hasProperty(Type type,
                    Property property)
Deprecated. 
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.

Parameters:
type - the type
property - the 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.

hasInheritedProperty

boolean hasInheritedProperty(Type type,
                             Property property)
Deprecated. 
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.

Parameters:
type - the type
property - the 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.

addProperty

List<Type> addProperty(Type rootType,
                       String path)
Deprecated. 
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.

Parameters:
rootType - the graph root type
path - the SDO XPath specifying a path from the given root type to a target or endpoint property
Returns:
any types collected during traversal of the property path.


Copyright © 2014. All rights reserved.