Class MAssociation


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

      • source

        protected MArtifact source
        The source.
      • type

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

      • MAssociation

        public MAssociation()
    • Method Detail

      • 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.
      • setTarget

        public void setTarget​(MAssociationTarget target)
        Set the target.
        Parameters:
        target - The target to set.
      • 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.