Package com.ptc.core.query.common
Class BasicResultSpec
java.lang.Object
com.ptc.core.meta.container.common.AttributeContainerSpec
com.ptc.core.query.common.BasicResultSpec
- All Implemented Interfaces:
AttributeTypeIdentifierList,ResultSpec,Externalizable,Serializable
This class provides a basic implementation of a result specification.
The AttributeTypeIdentifiers can be dynamically added to or removed
from the list.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface com.ptc.core.meta.common.AttributeTypeIdentifierList
SIZEFields inherited from interface com.ptc.core.query.common.ResultSpec
ACCESS_CONTROLLER, ADVANCED_QUERY_ENABLED, AGGREGATE, APPEND_ACCESS_CONTROLLER, ATTRIBUTE_SELECTOR, DEFAULT_SELECTOR, DERIVED_SELECTOR, EXCLUDED_TYPES, FILTER_RESULT_WITH_CRITERIA, FUNCTION_SELECTOR, TARGET_DATA_TYPE_IDENTIFIERS -
Constructor Summary
ConstructorsConstructorDescriptionBasicResultSpec(AttributeTypeIdentifier[] a_attributeTypeIdentifiers)
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.voidsetAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled) Sets 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.voidsetTargetDataTypeIdentifiers(TypeIdentifier[] a_TargetDataTypeIdentifiers) Sets the value of the attribute: targetDataTypeIdentifiers; The list of target TypeIdentifiers that is are used as AttributeTypeIdentifier context data types.Methods inherited from class com.ptc.core.meta.container.common.AttributeContainerSpec
applyDescriptorAndConstraintDefaults, clone, containsEntry, getConstraintsFilter, getContentFilter, getDescriptorKeys, getDescriptorsFilter, getExplicitAndFunctionContent, getExplicitContentFilter, getFunctionContentFilter, getInstanceEntries, getInstances, getInstances, getMissingContentFilter, getMissingExplicitContentFilter, getMissingFunctionContentFilter, getMissingImplicitContentFilter, getNextOperation, getSubSpec, getSubSpec, getSubSpec, getTypeIdentifiers, getUnsatisfiedSpec, handleServerAttributeMultiContainerFunctions, insertFunctionsIntoAttributeContainer, isEmpty, isIncludeArgumentsDefault, isIncludeConstraintsDefault, isIncludeDescriptorsDefault, purgeSubSpec, putDescriptorKey, putEntries, putEntries, putEntries, putEntry, putEntry, putEntry, putEntry, putEntry, putInstanceEntry, putInstanceEntry, readVersion, removeDescriptorKey, removeEntry, removeImplicitContentFromAttributeContainer, satisfiesContentFilter, satisfiesExplicitContentFilter, satisfiesFunctionContentFilter, satisfiesImplicitContentFilter, setIncludeArgumentsDefault, setIncludeConstraintsDefault, setIncludeDescriptorsDefault, setNextOperation
-
Constructor Details
-
BasicResultSpec
Supported API: true- Parameters:
a_attributeTypeIdentifiers- Array of AttributeTypeIdentifiers
-
-
Method Details
-
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
-
setTargetDataTypeIdentifiers
public void setTargetDataTypeIdentifiers(TypeIdentifier[] a_TargetDataTypeIdentifiers) throws WTPropertyVetoException Sets the value of the attribute: targetDataTypeIdentifiers; The list of target TypeIdentifiers that is are used as AttributeTypeIdentifier context data types.
Supported API: true- Parameters:
a_TargetDataTypeIdentifiers-- Throws:
WTPropertyVetoException
-
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
-
setAdvancedQueryEnabled
public void setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled) Sets the value of the attribute: advancedQueryEnabled; Indicates if the results are enabled for advanced query features.
Supported API: true- Parameters:
a_AdvancedQueryEnabled-
-
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
-