Module org.mal_lang.langspec
Class StepBinaryOperationBuilder
- java.lang.Object
-
- org.mal_lang.langspec.builders.step.StepExpressionBuilder
-
- org.mal_lang.langspec.builders.step.StepBinaryOperationBuilder
-
- Direct Known Subclasses:
StepCollectBuilder,StepDifferenceBuilder,StepIntersectionBuilder,StepUnionBuilder
public abstract class StepBinaryOperationBuilder extends StepExpressionBuilder
A builder for creatingStepBinaryOperationobjects.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStepBinaryOperationBuilder(StepExpressionBuilder lhs, StepExpressionBuilder rhs)Constructs a newStepBinaryOperationBuilderobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StepBinaryOperationBuilderfromJson(JsonObject jsonStepBinaryOperation)Creates a newStepBinaryOperationBuilderfrom aJsonObject.StepExpressionBuildergetLhs()Returns the left-hand side of thisStepBinaryOperationBuilderobject.StepExpressionBuildergetRhs()Returns the right-hand side of thisStepBinaryOperationBuilderobject.-
Methods inherited from class org.mal_lang.langspec.builders.step.StepExpressionBuilder
getTarget
-
-
-
-
Constructor Detail
-
StepBinaryOperationBuilder
protected StepBinaryOperationBuilder(StepExpressionBuilder lhs, StepExpressionBuilder rhs)
Constructs a newStepBinaryOperationBuilderobject.- Parameters:
lhs- the left-hand side of the binary operationrhs- the right-hand side of the binary operation- Throws:
NullPointerException- iflhsorrhsisnull- Since:
- 1.0.0
-
-
Method Detail
-
getLhs
public StepExpressionBuilder getLhs()
Returns the left-hand side of thisStepBinaryOperationBuilderobject.- Returns:
- the left-hand side of this
StepBinaryOperationBuilderobject - Since:
- 1.0.0
-
getRhs
public StepExpressionBuilder getRhs()
Returns the right-hand side of thisStepBinaryOperationBuilderobject.- Returns:
- the right-hand side of this
StepBinaryOperationBuilderobject - Since:
- 1.0.0
-
fromJson
public static StepBinaryOperationBuilder fromJson(JsonObject jsonStepBinaryOperation)
Creates a newStepBinaryOperationBuilderfrom aJsonObject.- Parameters:
jsonStepBinaryOperation- theJsonObject- Returns:
- a new
StepBinaryOperationBuilder - Throws:
NullPointerException- ifjsonStepBinaryOperationisnull- Since:
- 1.0.0
-
-