- 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 AssetgetAsset()Returns the asset of thisFieldobject.AssociationgetAssociation()Returns the association of thisFieldobject.MultiplicitygetMultiplicity()Returns the multiplicity of thisFieldobject.StringgetName()Returns the name of thisFieldobject.FieldgetTarget()Returns the target of thisFieldobject.
-
-
-
Method Detail
-
getName
public String getName()
Returns the name of thisFieldobject.- Returns:
- the name of this
Fieldobject - Since:
- 1.0.0
-
getAsset
public Asset getAsset()
Returns the asset of thisFieldobject.- Returns:
- the asset of this
Fieldobject - Since:
- 1.0.0
-
getMultiplicity
public Multiplicity getMultiplicity()
Returns the multiplicity of thisFieldobject.- Returns:
- the multiplicity of this
Fieldobject - Since:
- 1.0.0
-
getTarget
public Field getTarget()
Returns the target of thisFieldobject.- Returns:
- the target of this
Fieldobject - Since:
- 1.0.0
-
getAssociation
public Association getAssociation()
Returns the association of thisFieldobject.- Returns:
- the association of this
Fieldobject - Since:
- 1.0.0
-
-