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 Detail

      • associations

        protected java.util.List<MAssociation> associations
        The associations.
      • type

        protected java.lang.String type
        The type.
    • Constructor Detail

      • MArtifact

        public MArtifact()
    • Method Detail

      • getAssociations

        public java.util.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 java.lang.String getType()
        Get the type.
        Returns:
        The type.
      • setType

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