Package com.ptc.core.query.common
Class DefaultResultSpec
java.lang.Object
com.ptc.core.query.common.DefaultResultSpec
- All Implemented Interfaces:
AttributeTypeIdentifierList,ResultSpec,Externalizable,Serializable
This class provides a default "wrapper" implementation based on an existing
AttributeTypeIdentiferList.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface com.ptc.core.query.common.ResultSpec
ADVANCED_QUERY_ENABLED, EXCLUDED_TYPES, TARGET_DATA_TYPE_IDENTIFIERS -
Constructor Summary
ConstructorsConstructorDescriptionDefaultResultSpec(AttributeTypeIdentifier[] a_attributeTypeIdentifier)
Supported API: true
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: excludedTypes; Specifies an array of TypeIdentifiers that should be excluded when processing the query.Gets the value of the attribute: targetDataTypeIdentifiers; The list of target TypeIdentifiers that is are used as AttributeTypeIdentifier context data types.booleanGets the value of the attribute: advancedQueryEnabled; Indicates if the results are enabled for advanced query features.voidsetExcludedTypes(TypeIdentifier[] a_ExcludedTypes) Sets the value of the attribute: excludedTypes; Specifies an array of TypeIdentifiers that should be excluded when processing the query.
-
Constructor Details
-
DefaultResultSpec
Supported API: true- Parameters:
a_list- The list that this instance "wraps".
-
DefaultResultSpec
Supported API: true- Parameters:
a_attributeTypeIdentifier- The array that this instance "wraps".
-
-
Method Details
-
getExcludedTypes
Gets the value of the attribute: excludedTypes; Specifies an array of TypeIdentifiers that should be excluded when processing the query.
Supported API: true- Specified by:
getExcludedTypesin interfaceResultSpec- Returns:
- TypeIdentifier[]
-
setExcludedTypes
Sets the value of the attribute: excludedTypes; Specifies an array of TypeIdentifiers that should be excluded when processing the query.
Supported API: true- Specified by:
setExcludedTypesin interfaceResultSpec- Parameters:
a_ExcludedTypes-- Throws:
WTPropertyVetoException
-
getTargetDataTypeIdentifiers
Gets the value of the attribute: targetDataTypeIdentifiers; The list of target TypeIdentifiers that is are used as AttributeTypeIdentifier context data types.
Supported API: true- Specified by:
getTargetDataTypeIdentifiersin interfaceResultSpec- Returns:
- TypeIdentifier[]
- Throws:
WTException
-
isAdvancedQueryEnabled
public boolean isAdvancedQueryEnabled()Gets the value of the attribute: advancedQueryEnabled; Indicates if the results are enabled for advanced query features.
Supported API: true- Specified by:
isAdvancedQueryEnabledin interfaceResultSpec- Returns:
- boolean
-