com.ibm.ims.db
Class SSAQualificationStatement

java.lang.Object
  |
  +--com.ibm.ims.db.SSAQualificationStatement

public class SSAQualificationStatement
extends java.lang.Object

A SSAQualificationStatement represents logical qualification statements to a Segment Search Argument.


Constructor Summary
protected SSAQualificationStatement(byte ssaBooleanOperator, java.lang.String fieldName, short ssaRelationalOperator, java.lang.String comparisonValue)
          Protected constructor to build an SSAQualificationStatement.
protected SSAQualificationStatement(java.lang.String fieldName, short ssaRelationalOperator, java.lang.String comparisonValue)
          Protected constructor to build an SSAQualificationStatement.
 
Method Summary
static SSAQualificationStatement createInstance(byte ssaBooleanOperator, java.lang.String fieldName, short ssaRelationalOperator)
          This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument.
static SSAQualificationStatement createInstance(byte ssaBooleanOperator, java.lang.String fieldName, short ssaRelationalOperator, java.lang.String comparisonValue)
          This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument.
static SSAQualificationStatement createInstance(java.lang.String fieldName, short ssaRelationalOperator)
          This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument.
static SSAQualificationStatement createInstance(java.lang.String fieldName, short ssaRelationalOperator, java.lang.String comparisonValue)
          This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSAQualificationStatement

protected SSAQualificationStatement(byte ssaBooleanOperator,
                                    java.lang.String fieldName,
                                    short ssaRelationalOperator,
                                    java.lang.String comparisonValue)
Protected constructor to build an SSAQualificationStatement.
Parameters:
ssaBooleanOperator - a constant to link qualifications together in SSAs with multiple qualifications
fieldName - the field name to be used to further qualify the SSA
ssaRelationalOperator - a constant to indicate the kind of checking
comparisonValue - the value the field name is compared with

SSAQualificationStatement

protected SSAQualificationStatement(java.lang.String fieldName,
                                    short ssaRelationalOperator,
                                    java.lang.String comparisonValue)
Protected constructor to build an SSAQualificationStatement.
Parameters:
fieldName - the field name to be used to further qualify the SSA
ssaRelationalOperator - a constant to indicate the kind of checking
comparisonValue - the value the field name is compared with
Method Detail

createInstance

public static SSAQualificationStatement createInstance(byte ssaBooleanOperator,
                                                       java.lang.String fieldName,
                                                       short ssaRelationalOperator)
This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument. This constructor is used to indicate that the comparison value will be set later using one of the overloaded setValue() methods of the SSAList class.

The SSA class defines several constants that can be supplied as values for the ssaBooleanOperator argument: AND, OR, and INDEPENDENT_AND.

The SSA class defines several constants that can be supplied as values for the ssaRelationalOperator argument: EQUALS, GREATER_OR_EQUAL, LESS_OR_EQUAL, GREATER_THAN, LESS_THAN, and NOT_EQUAL.

Parameters:
ssaBooleanOperator - a constant to link qualifications together in SSAs with multiple qualifications
fieldName - the field name to be used to further qualify the SSA
ssaRelationalOperator - a constant to indicate the kind of checking
See Also:
SSAList.setValue(int, BigDecimal), SSAList.setValue(int, double), SSAList.setValue(int, float), SSAList.setValue(int, int), SSAList.setValue(int, long), SSAList.setValue(int, short), SSAList.setValue(int, String)

createInstance

public static SSAQualificationStatement createInstance(byte ssaBooleanOperator,
                                                       java.lang.String fieldName,
                                                       short ssaRelationalOperator,
                                                       java.lang.String comparisonValue)
This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument. To indicate that a comparison value may be changed at a later time, pass a null reference for the value. When using the SSA, call the overloaded setValue() methods in the SSAList class to substitute in the desired value.

The SSA class defines several constants that can be supplied as values for the ssaBooleanOperator argument: AND, OR, and INDEPENDENT_AND.

The SSA class defines several constants that can be supplied as values for the ssaRelationalOperator argument: EQUALS, GREATER_OR_EQUAL, LESS_OR_EQUAL, GREATER_THAN, LESS_THAN, and NOT_EQUAL.

Parameters:
ssaBooleanOperator - a constant to link qualifications together in SSAs with multiple qualifications
fieldName - the field name to be used to further qualify the SSA
ssaRelationalOperator - a constant to indicate the kind of checking
comparisonValue - the value the field name is compared with
See Also:
SSAList.setValue(int, BigDecimal), SSAList.setValue(int, double), SSAList.setValue(int, float), SSAList.setValue(int, int), SSAList.setValue(int, long), SSAList.setValue(int, short), SSAList.setValue(int, String)

createInstance

public static SSAQualificationStatement createInstance(java.lang.String fieldName,
                                                       short ssaRelationalOperator)
This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument. This constructor is used to indicate that the comparison value will be set later using one of the overloaded setValue() methods of the SSAList class.

The SSA class defines several constants that can be supplied as values for the ssaRelationalOperator argument: EQUALS, GREATER_OR_EQUAL, LESS_OR_EQUAL, GREATER_THAN, LESS_THAN, and NOT_EQUAL.

Parameters:
fieldName - the field name to be used to further qualify the SSA
ssaRelationalOperator - a constant to indicate the kind of checking
comparisonValue - the value the field name is compared with
See Also:
SSAList.setValue(int, BigDecimal), SSAList.setValue(int, double), SSAList.setValue(int, float), SSAList.setValue(int, int), SSAList.setValue(int, long), SSAList.setValue(int, short), SSAList.setValue(int, String)

createInstance

public static SSAQualificationStatement createInstance(java.lang.String fieldName,
                                                       short ssaRelationalOperator,
                                                       java.lang.String comparisonValue)
This creates an SSA Qualification Statement, which is used to further qualify a Segment Search Argument. To indicate that a comparison value may be changed at a later time, pass a null reference for the value. When using the SSA, call the overloaded setValue() methods in the SSAList class to substitute in the desired value.

The SSA class defines several constants that can be supplied as values for the ssaRelationalOperator argument: EQUALS, GREATER_OR_EQUAL, LESS_OR_EQUAL, GREATER_THAN, LESS_THAN, and NOT_EQUAL.

Parameters:
fieldName - the field name to be used to further qualify the SSA
ssaRelationalOperator - a constant to indicate the kind of checking
comparisonValue - the value the field name is compared with
See Also:
SSAList.setValue(int, BigDecimal), SSAList.setValue(int, double), SSAList.setValue(int, float), SSAList.setValue(int, int), SSAList.setValue(int, long), SSAList.setValue(int, short), SSAList.setValue(int, String)


(C) International Business Machines Corporation 2004. All rights reserved.