Class MArtifact


public class MArtifact extends MNamedIdElement
An artifact is a thing such as a text associated to some other thing such as an activity.
  • Field Details

    • associations

      protected List<MAssociation> associations
      The associations.
    • type

      protected String type
      The type.
  • Constructor Details

    • MArtifact

      public MArtifact()
  • Method Details

    • getAssociations

      public List<MAssociation> getAssociations()
      Get the associations. return The associations.
    • addAssociation

      public void addAssociation(MAssociation association)
      Add an association.
      Parameters:
      association - The association.
    • removeAssociation

      public void removeAssociation(MAssociation association)
      Remove an association.
      Parameters:
      association - The association.
    • 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.