Class MAssociation


public class MAssociation extends MAnnotationElement
An association is a connection between an artifact and some other thing.
  • Field Details

  • Constructor Details

    • MAssociation

      public MAssociation()
  • Method Details

    • getSource

      public MArtifact getSource()
      Get the source.
      Returns:
      The source.
    • setSource

      public void setSource(MArtifact source)
      Set the source.
      Parameters:
      source - The source to set.
    • getTarget

      public MAssociationTarget getTarget()
      Get the target.
      Returns:
      The target.
    • setTarget

      public void setTarget(MAssociationTarget target)
      Set the target.
      Parameters:
      target - The target to set.
    • getType

      public String getType()
      Get the type.
      Returns:
      The type.
    • setType

      public void setType(String type)
      Set the type.
      Parameters:
      type - The type to set.