Class Field


  • public final class Field
    extends Object
    Immutable class representing a field of an asset in a MAL language.
    Since:
    1.0.0
    • Method Detail

      • getName

        public String getName()
        Returns the name of this Field object.
        Returns:
        the name of this Field object
        Since:
        1.0.0
      • getAsset

        public Asset getAsset()
        Returns the asset of this Field object.
        Returns:
        the asset of this Field object
        Since:
        1.0.0
      • getMultiplicity

        public Multiplicity getMultiplicity()
        Returns the multiplicity of this Field object.
        Returns:
        the multiplicity of this Field object
        Since:
        1.0.0
      • getTarget

        public Field getTarget()
        Returns the target of this Field object.
        Returns:
        the target of this Field object
        Since:
        1.0.0
      • getAssociation

        public Association getAssociation()
        Returns the association of this Field object.
        Returns:
        the association of this Field object
        Since:
        1.0.0