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 int
AND
static int
OR
-
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 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
setOpType(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: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()
-
setOpType
public void setOpType(int i)
-
-