- java.lang.Object
-
- org.mal_lang.langspec.step.StepExpression
-
- org.mal_lang.langspec.step.StepReference
-
- org.mal_lang.langspec.step.StepField
-
public final class StepField extends StepReference
Immutable class representing a field step in a MAL language.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldgetField()Returns the field of thisStepFieldobject.JsonObjecttoJson()Returns the JSON representation of thisStepExpressionobject.-
Methods inherited from class org.mal_lang.langspec.step.StepExpression
fromBuilder, getSourceAsset, getTargetAsset
-
-
-
-
Method Detail
-
getField
public Field getField()
Returns the field of thisStepFieldobject.- Returns:
- the field of this
StepFieldobject - Since:
- 1.0.0
-
toJson
public JsonObject toJson()
Description copied from class:StepExpressionReturns the JSON representation of thisStepExpressionobject.- Specified by:
toJsonin classStepExpression- Returns:
- the JSON representation of this
StepExpressionobject
-
-