Package com.dassault_systemes.catweb.databackend.dataType

   
Class ElementOfQuery

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catweb.databackend.dataType.ElementOfQuery
Class Location

Framework : CATJDataAccessBasicModel

Module : PLAdatabackend

Class Description

public class ElementOfQuery

Class to manage the extended query.
To perform an extended query, three kind of information have to be specified:

  1. a PEType
  2. an environment (if other environments than "default" are defined)
  3. a PEAttribute matching with an operand accordind to a certain operator
This last information is contained in the Object: ElementOfQuery.
An extended query can contain several ElementOfQuery on the same PEType and environment. The way to manage these different ElementOFQuery depends on the implementation of the QueryRoot method of the DataIF interface.
An ElementOfQuery contains three Objects: a PEAttribute, a String representing the operator, a String representing the operand.

See Also:
com.dassault_systemes.catweb.databackend.dataType.DataIF
Field Summary

Constructor Summary
ElementOfQuery(PEAttribute iAttribute, String iOperator, String iOperand)
Constructs an ElementOfQuery given its attribute, operator and operand.

Method Summary
public PEAttribute getAttribute()
Returns the PEAttribute.
public String getOperand()
Returns the String Object representing the operand.
public String getOperator()
Returns the String Object representing the operator.


Field Detail

Constructor Detail

ElementOfQuery

    ElementOfQuery(PEAttribute iAttribute, String iOperator, String iOperand)

Constructs an ElementOfQuery given its attribute, operator and operand.

Parameters:
iAttribute
The PEAttribute.
iOperator
The String Object representing the operator.
iOperand
The String Object representing the operand.

Method Detail

getAttribute

    public PEAttribute getAttribute()

Returns the PEAttribute.


getOperand

    public String getOperand()

Returns the String Object representing the operand.


getOperator

    public String getOperator()

Returns the String Object representing the operator.



Copyright © 2000, Dassault Systèmes. All rights reserved