Package org.proforma
Class NullifyCondition
- java.lang.Object
-
- org.proforma.NullifyBase
-
- org.proforma.NullifyCondition
-
public class NullifyCondition extends NullifyBase
Specifies a simple comparison condition when the sub result of a pointed-at node should get nullified. This simple comparison condition is attributed with one of the six common comparison operators. Further it contains operands that refer to tests or combine nodes or that specify a numerical constant, which a result should be compared to.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
compareOp
protected List<NullifyComparisonOperand>
operands
-
Fields inherited from class org.proforma.NullifyBase
description, internalDescription, title
-
-
Constructor Summary
Constructors Constructor Description NullifyCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ChildRef.ChildRefRef>
collectReferences()
String
getCompareOp()
Ruft den Wert der compareOp-Eigenschaft ab.String
getFlippedOperatorSymbol()
String
getNegatedOperatorSymbol()
List<NullifyComparisonOperand>
getOperands()
Gets the value of the operands property.String
getOperatorSymbol()
void
setCompareOp(String value)
Legt den Wert der compareOp-Eigenschaft fest.-
Methods inherited from class org.proforma.NullifyBase
getDescription, getInternalDescription, getTitle, setDescription, setInternalDescription, setTitle
-
-
-
-
Field Detail
-
operands
protected List<NullifyComparisonOperand> operands
-
compareOp
protected String compareOp
-
-
Method Detail
-
getOperands
public List<NullifyComparisonOperand> getOperands()
Gets the value of the operands property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the children property.For example, to add a new item, do as follows:
getOperands().add(newItem);
Objects of the following type(s) are allowed in the list
NullifyCombineRef
NullifyTestRef
NullifyLiteral
-
getCompareOp
public String getCompareOp()
Ruft den Wert der compareOp-Eigenschaft ab.- Returns:
- possible object is
String
-
setCompareOp
public void setCompareOp(String value)
Legt den Wert der compareOp-Eigenschaft fest.- Parameters:
value
- allowed object isString
-
getOperatorSymbol
public String getOperatorSymbol()
-
getFlippedOperatorSymbol
public String getFlippedOperatorSymbol()
-
getNegatedOperatorSymbol
public String getNegatedOperatorSymbol()
-
collectReferences
public Set<ChildRef.ChildRefRef> collectReferences()
- Specified by:
collectReferences
in classNullifyBase
-
-