Package com.ptc.core.query.common
Interface ResultSpec
- All Superinterfaces:
AttributeTypeIdentifierList
- All Known Implementing Classes:
BasicResultSpec,DefaultResultSpec
This interface provides the abstraction for specifying the results of
a type based query. The results are specified in terms of AttributeTypeIdentifiers
which identify the attributes that should be returned when the query
is executed.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLabel for the attribute; Indicates if the results are enabled for advanced query features.static final StringLabel for the attribute; Specifies an array of TypeIdentifiers that should be excluded when processing the query.static final StringLabel for the attribute; The list of target TypeIdentifiers that is are used as AttributeTypeIdentifier context data types. -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: EXCLUDED_TYPES.Gets the value of the attribute: TARGET_DATA_TYPE_IDENTIFIERS.booleanGets the value of the attribute: ADVANCED_QUERY_ENABLED.voidsetExcludedTypes(TypeIdentifier[] a_ExcludedTypes) Sets the value of the attribute: EXCLUDED_TYPES.Methods inherited from interface com.ptc.core.meta.common.AttributeTypeIdentifierList
getAttributeTypeIdentifier, getIndex, getSize
-
Field Details
-
TARGET_DATA_TYPE_IDENTIFIERS
Label for the attribute; The list of target TypeIdentifiers that is are used as AttributeTypeIdentifier context data types.
Supported API: true- See Also:
-
ADVANCED_QUERY_ENABLED
Label for the attribute; Indicates if the results are enabled for advanced query features.
Supported API: true- See Also:
-
EXCLUDED_TYPES
Label for the attribute; Specifies an array of TypeIdentifiers that should be excluded when processing the query.
Supported API: true- See Also:
-
-
Method Details
-
getTargetDataTypeIdentifiers
Gets the value of the attribute: TARGET_DATA_TYPE_IDENTIFIERS. The list of target TypeIdentifiers that is are used as AttributeTypeIdentifier context data types.
Supported API: true- Returns:
- TypeIdentifier[]
- Throws:
WTException
-
isAdvancedQueryEnabled
boolean isAdvancedQueryEnabled()Gets the value of the attribute: ADVANCED_QUERY_ENABLED. Indicates if the results are enabled for advanced query features.
Supported API: true- Returns:
- boolean
-
getExcludedTypes
TypeIdentifier[] getExcludedTypes()Gets the value of the attribute: EXCLUDED_TYPES. Specifies an array of TypeIdentifiers that should be excluded when processing the query.
Supported API: true- Returns:
- TypeIdentifier[]
-
setExcludedTypes
Sets the value of the attribute: EXCLUDED_TYPES. Specifies an array of TypeIdentifiers that should be excluded when processing the query.
Supported API: true- Parameters:
a_ExcludedTypes-- Throws:
WTPropertyVetoException
-