- java.lang.Object
-
- org.mal_lang.langspec.Field
-
public final class Field extends Object
Immutable class representing a field of an asset in a MAL language.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Asset
getAsset()
Returns the asset of thisField
object.Association
getAssociation()
Returns the association of thisField
object.Multiplicity
getMultiplicity()
Returns the multiplicity of thisField
object.String
getName()
Returns the name of thisField
object.Field
getTarget()
Returns the target of thisField
object.
-
-
-
Method Detail
-
getName
public String getName()
Returns the name of thisField
object.- Returns:
- the name of this
Field
object - Since:
- 1.0.0
-
getAsset
public Asset getAsset()
Returns the asset of thisField
object.- Returns:
- the asset of this
Field
object - Since:
- 1.0.0
-
getMultiplicity
public Multiplicity getMultiplicity()
Returns the multiplicity of thisField
object.- Returns:
- the multiplicity of this
Field
object - Since:
- 1.0.0
-
getTarget
public Field getTarget()
Returns the target of thisField
object.- Returns:
- the target of this
Field
object - Since:
- 1.0.0
-
getAssociation
public Association getAssociation()
Returns the association of thisField
object.- Returns:
- the association of this
Field
object - Since:
- 1.0.0
-
-