- java.lang.Object
-
- org.mal_lang.langspec.Association
-
public final class Association extends Object
Immutable class representing an association in a MAL language.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Field
getLeftField()
Returns the left field of thisAssociation
object.Meta
getMeta()
Returns the meta info of thisAssociation
object.String
getName()
Returns the name of thisAssociation
object.Field
getRightField()
Returns the right field of thisAssociation
object.
-
-
-
Method Detail
-
getName
public String getName()
Returns the name of thisAssociation
object.- Returns:
- the name of this
Association
object - Since:
- 1.0.0
-
getMeta
public Meta getMeta()
Returns the meta info of thisAssociation
object.- Returns:
- the meta info of this
Association
object - Since:
- 1.0.0
-
getLeftField
public Field getLeftField()
Returns the left field of thisAssociation
object.- Returns:
- the left field of this
Association
object - Since:
- 1.0.0
-
getRightField
public Field getRightField()
Returns the right field of thisAssociation
object.- Returns:
- the right field of this
Association
object - Since:
- 1.0.0
-
-