Class LogicalExpression
- java.lang.Object
-
- com.inductiveautomation.ignition.common.expressions.AbstractExpression
-
- com.inductiveautomation.ignition.common.expressions.LogicalExpression
-
- All Implemented Interfaces:
Expression
public class LogicalExpression extends AbstractExpression
-
-
Field Summary
Fields Modifier and Type Field Description static intANDstatic intOR-
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener
-
-
Constructor Summary
Constructors Constructor Description LogicalExpression()LogicalExpression(Expression e1, Expression e2, int opType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QualifiedValueexecute()Compute and return the value of this expressionjava.lang.StringgetOpName()Return a human-readable name for the operation that this expression performsintgetOpType()java.lang.Class<?>getType()Return the type that this expression will returnvoidsetOpType(int i)-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren, shutdown, startup
-
-
-
-
Field Detail
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LogicalExpression
public LogicalExpression(Expression e1, Expression e2, int opType)
-
LogicalExpression
public LogicalExpression()
-
-
Method Detail
-
execute
@Nonnull public QualifiedValue execute() throws ExpressionException
Description copied from interface:ExpressionCompute and return the value of this expression- Throws:
ExpressionException
-
getType
public java.lang.Class<?> getType()
Description copied from interface:ExpressionReturn the type that this expression will return
-
getOpName
public java.lang.String getOpName()
Description copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs
-
getOpType
public int getOpType()
-
setOpType
public void setOpType(int i)
-
-