Package com.ptc.core.query.common
Interface CriterionSpec
- All Known Implementing Classes:
BasicCriteriaSpec,CompositeCriteriaSpec,DefaultCriteriaSpec
public interface CriterionSpec
This interface provides the abstraction for specifying the criteria for a
type based query. The criteria are AttributeContainerSet instances
associated with a specified TypeIdentifier.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidaugmentCriteria(CriteriaAugmentor a_augmentor, ResultSpec a_resultSpec) This method augments all criteria.This method creates a copy of this instance that contains only non root criteria.booleanThis method returns true if any criteria exist.booleanThis method returns true if any of the associated criteria contains outer join criterion.getCriteria(TypeIdentifier a_targetTypeId) This method returns the criteria associated with a specified TypeIdentifier.getTypes()This method returns the set of TypeIdentifier that have specified criteria.iterator()This method iterates over all criteria.
-
Method Details
-
getTypes
This method returns the set of TypeIdentifier that have specified criteria.
Supported API: true- Returns:
- Set of TypeIdentifiers
- Throws:
WTException
-
getCriteria
This method returns the criteria associated with a specified TypeIdentifier.
Supported API: true- Parameters:
a_targetTypeId- specifies the target TypeIdentifier- Returns:
- AttributeContainerSet
- Throws:
WTException
-
containsCriteria
This method returns true if any criteria exist.
Supported API: true- Returns:
- true if any criteria exists
- Throws:
WTException
-
containsOuterJoin
This method returns true if any of the associated criteria contains outer join criterion.
Supported API: true- Returns:
- true if any of the associated criteria contains outer join criterion
- Throws:
WTException
-
cloneNonRoot
This method creates a copy of this instance that contains only non root criteria.
Supported API: true- Returns:
- copy of this instance that contains only non root criteria
- Throws:
WTException
-
iterator
This method iterates over all criteria.
Supported API: true- Returns:
- iterator over all criteria
- Throws:
WTException
-
augmentCriteria
This method augments all criteria.
Supported API: true- Parameters:
a_augmentor- specifies the augmentor to usea_resultSpec- specifies the result to use- Throws:
WTException
-