Class DefaultResultSpec

java.lang.Object
com.ptc.core.query.common.DefaultResultSpec
All Implemented Interfaces:
AttributeTypeIdentifierList, ResultSpec, Externalizable, Serializable

public class DefaultResultSpec extends Object implements ResultSpec, Externalizable
This class provides a default "wrapper" implementation based on an existing AttributeTypeIdentiferList.

Supported API: true

Extendable: false
See Also:
  • Constructor Details

    • DefaultResultSpec

      public DefaultResultSpec(AttributeTypeIdentifierList a_list)


      Supported API: true
      Parameters:
      a_list - The list that this instance "wraps".
    • DefaultResultSpec

      public DefaultResultSpec(AttributeTypeIdentifier[] a_attributeTypeIdentifier)


      Supported API: true
      Parameters:
      a_attributeTypeIdentifier - The array that this instance "wraps".
  • Method Details

    • getExcludedTypes

      public TypeIdentifier[] 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:
      getExcludedTypes in interface ResultSpec
      Returns:
      TypeIdentifier[]
    • setExcludedTypes

      public void setExcludedTypes(TypeIdentifier[] a_ExcludedTypes) throws WTPropertyVetoException
      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:
      setExcludedTypes in interface ResultSpec
      Parameters:
      a_ExcludedTypes -
      Throws:
      WTPropertyVetoException
    • getTargetDataTypeIdentifiers

      public TypeIdentifier[] getTargetDataTypeIdentifiers() throws WTException
      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:
      getTargetDataTypeIdentifiers in interface ResultSpec
      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:
      isAdvancedQueryEnabled in interface ResultSpec
      Returns:
      boolean