Table 84 summarizes the member variables in the
DependentCondition class.
Table 84. Member variables of the DependentCondition class.
Member variable | Description | Page |
---|---|---|
isDynamic | Specifies whether Business Object Wizard should check the value of the specific-value property before it makes the dependent condition's comparison | isDynamic |
operatorType | Specifies the operator type for the dependent condition. | operatorType |
propertyName | Specifies the name of the dependent property to be displayed. | propertyName |
specificValue | Specifies the value to compare with the dependent property's value. | specificValue |
typeOfSpecificValue | Specifies the data type of the dependent condition's specific value. | typeOfSpecificValue |
Specifies whether Business Object Wizard should check the value of the specific-value property before making the dependent condition's comparison.
Type
public boolean isDynamic
Notes
When the isDynamic member variable is true, Business Object Wizard obtains the value of the property that the specificValue member variable specifies before it performs the comparison with the dependent property's value. If specificValue contains a constant, isDynamic should be set to false.
Specifies the operator type for the dependent condition.
Type
public String operatorType
Notes
The operatorType specifies the kind of comparison that Business Object Wizard makes between the value of the dependent property (which the propertyName member variable specifies) and the specificValue. Valid values for the operatorType variable are the operator constants, which are defined in the CompleteCondition class. For more information, see Table 76.
Specifies the name of the dependent property.
Type
public String propertyName
Notes
The propertyName member variable contains the name of the dependent property. It is the value of the dependent property that the dependent condition restricts (when the associated input conditions evaluate to true).
Specifies the value to compare with the dependent property's value.
Type
public String specificValue
Notes
The specificValue holds the dependent condition's value, which Business Object Wizard compares with the value of the dependent property (which the propertyName member variable specifies). The kind of comparison is determined by the operatorType variable. The specific value can be either of the following:
For example, if a dependent condition specifies the Less Than operator (CompleteCondition.OP_LESS_THAN) as its operatorType and specifies a value of 5 as its specificValue, the dependent property's value must be less than 5 when the associated input conditions evaluate to true.
For example, if a dependent condition specifies the Greater Than operator (CompleteCondition.OP_GREATER_THAN) as its operatorType and specifies the name of the "Property1" property as its specificValue, the dependent property's value must be greater than the value of Property1 agent property when the associated input conditions evaluate to true.
The specificValue variable is declared of type String so that it can hold any kind of value. However, to make comparisons properly, Business Object Wizard needs to know the actual data type of the specific value, which the typeOfSpecificValue member variable contains.
Specifies the data type of the dependent condition's specific value.
Type
public int typeOfSpecificValue
Notes
The typeOfSpecificValue holds the data type for the dependent condition's specific value. The specificValue variable is declared of type String so that it can hold any kind of value. However, to make comparisons properly, Business Object Wizard needs to know the actual data type of the specific value. Valid values for the typeOfSpecificValue variable are the property-type constants, which are defined in the AgentProperty class. For more information, see Table 67.
For example, if the dependent condition's specific value is an integer constant of 5: