Class EqualityExpression
- java.lang.Object
-
- com.inductiveautomation.ignition.common.expressions.AbstractExpression
-
- com.inductiveautomation.ignition.common.expressions.EqualityExpression
-
- All Implemented Interfaces:
Expression
public class EqualityExpression extends AbstractExpression
-
-
Field Summary
Fields Modifier and Type Field Description static int
EQUAL
static int
NOTEQUAL
-
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener
-
-
Constructor Summary
Constructors Constructor Description EqualityExpression()
EqualityExpression(Expression e1, Expression e2, int opType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QualifiedValue
execute()
Compute and return the value of this expressionjava.lang.String
getOpName()
Return a human-readable name for the operation that this expression performsint
getOpType()
java.lang.Class<?>
getType()
Return the type that this expression will returnvoid
setBools(boolean b)
void
setOpType(int i)
void
setTypeCode(int typeCode)
Noop.-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren, shutdown, startup
-
-
-
-
Field Detail
-
EQUAL
public static final int EQUAL
- See Also:
- Constant Field Values
-
NOTEQUAL
public static final int NOTEQUAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EqualityExpression
public EqualityExpression(Expression e1, Expression e2, int opType)
-
EqualityExpression
public EqualityExpression()
-
-
Method Detail
-
execute
@Nonnull public QualifiedValue execute() throws ExpressionException
Description copied from interface:Expression
Compute and return the value of this expression- Throws:
ExpressionException
-
getType
public java.lang.Class<?> getType()
Description copied from interface:Expression
Return the type that this expression will return
-
getOpName
public java.lang.String getOpName()
Description copied from interface:Expression
Return a human-readable name for the operation that this expression performs
-
getOpType
public int getOpType()
-
setBools
public void setBools(boolean b)
-
setOpType
public void setOpType(int i)
-
setTypeCode
public void setTypeCode(int typeCode)
Noop. For backwards compatability
-
-