Class CipExpression.Constant
- java.lang.Object
-
- com.automation_pros.odva.cip.path.CipExpression
-
- com.automation_pros.odva.cip.path.CipExpression.Constant
-
- Enclosing class:
- CipExpression
public static class CipExpression.Constant extends CipExpression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.path.CipExpression
CipExpression.AddOp, CipExpression.AndOp, CipExpression.BinaryOp, CipExpression.BitwiseOp, CipExpression.CompareOp, CipExpression.Constant, CipExpression.DivideOp, CipExpression.InvertOp, CipExpression.LogicalAndOp, CipExpression.LogicalOrOp, CipExpression.MathOp, CipExpression.ModulusOp, CipExpression.MultiplyOp, CipExpression.NotOp, CipExpression.OrOp, CipExpression.SubtractOp, CipExpression.TrinaryOp, CipExpression.UnaryOp, CipExpression.Variable, CipExpression.XorOp
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseDataType<?>
value
-
Constructor Summary
Constructors Constructor Description Constant(BaseDataType<?> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseDataType<?>
execute(DataContext ctx)
java.util.List<CipPath>
getVariablePaths()
java.lang.String
prefixedString(java.lang.String prefix)
java.lang.String
toString()
-
-
-
Field Detail
-
value
protected final BaseDataType<?> value
-
-
Constructor Detail
-
Constant
public Constant(BaseDataType<?> value)
-
-
Method Detail
-
execute
public BaseDataType<?> execute(DataContext ctx)
- Specified by:
execute
in classCipExpression
-
getVariablePaths
public java.util.List<CipPath> getVariablePaths()
- Specified by:
getVariablePaths
in classCipExpression
-
prefixedString
public java.lang.String prefixedString(java.lang.String prefix)
- Specified by:
prefixedString
in classCipExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCipExpression
-
-