- 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 Field
getField()
Returns the field of thisStepField
object.JsonObject
toJson()
Returns the JSON representation of thisStepExpression
object.-
Methods inherited from class org.mal_lang.langspec.step.StepExpression
fromBuilder, getSourceAsset, getTargetAsset
-
-
-
-
Method Detail
-
getField
public Field getField()
Returns the field of thisStepField
object.- Returns:
- the field of this
StepField
object - Since:
- 1.0.0
-
toJson
public JsonObject toJson()
Description copied from class:StepExpression
Returns the JSON representation of thisStepExpression
object.- Specified by:
toJson
in classStepExpression
- Returns:
- the JSON representation of this
StepExpression
object
-
-