Methods

Table 90 summarizes the methods in the DependentCondition class.

Table 90. Member methods of the DependentCondition class.

Member Method Description Page
DependentCondition() Creates a dependent-condition object. DependentCondition()
copy() Copies the current dependent condition into the specified DependentCondition object. copy()

DependentCondition()

Creates a dependent-condition object.

Syntax

public DependentCondition();
public DependentCondition(String name, String op, 
   boolean isDyn, int type, String specificVal);

Parameters

isDyn
Indicates whether to obtain the value of the specific-value property dynamically; the value of this parameter initializes the isDynamic member variable (isDynamic).

name
is the name of the dependent property; the value of this parameter initializes the propertyName member variable (propertyName)

op
Is the operator that specifies the kind of comparison to make; the value of this parameter initializes the operatorType member variable (operatorType).

specificVal
Specifies the specific value of the dependent condition; the value of this parameter initializes the specificValue member variable (specificValue).

type
Specifies the data type of the specific value; the value of this parameter initializes the typeOfSpecificValue member variable (typeOfSpecificValue).

Return values

A newly instantiated DependentCondition object.

copy()

Copies the current dependent condition into a specified dependent-condition object.

Syntax

public void copy(DependentCondition depCond);

Parameters

depCond
Is a reference to the dependent-condition object into which the current dependent condition is copied.

Return values

None.

Copyright IBM Corp. 1997, 2004