Interface Artifact

    • Method Detail

      • getNestedArtifacts

        MDWEList<Artifact> getNestedArtifacts()
        Returns the value of the 'Nested Artifact' containment reference list. The list contents are of type Artifact. The Artifacts that are defined (nested) within the Artifact. The association is a specialization of the ownedMember association from Namespace to NamedElement.
        Returns:
        the value of the 'Nested Artifact' containment reference list.
        See Also:
        UMLPackage.getArtifact_NestedArtifact()
      • createNestedArtifact

        Artifact createNestedArtifact​(String name,
                                      org.eclipse.emf.ecore.EClass eClass)
        Creates a new Artifact, with the specified 'Name', and appends it to the ' Nested Artifact' containment reference list.
        Parameters:
        name - The 'Name' for the new Artifact, or null.
        eClass - The Ecore class of the Artifact to create.
        Returns:
        The new Artifact.
        See Also:
        getNestedArtifacts()
      • createNestedArtifact

        Artifact createNestedArtifact​(String name)
        Creates a new Artifact, with the specified 'Name', and appends it to the ' Nested Artifact' containment reference list.
        Parameters:
        name - The 'Name' for the new Artifact, or null.
        Returns:
        The new Artifact.
        See Also:
        getNestedArtifacts()
      • getNestedArtifact

        Artifact getNestedArtifact​(String name)
        Retrieves the first Artifact with the specified 'Name' from the ' Nested Artifact' containment reference list.
        Parameters:
        name - The 'Name' of the Artifact to retrieve, or null.
        Returns:
        The first Artifact with the specified 'Name', or null.
        See Also:
        getNestedArtifacts()
      • getNestedArtifact

        Artifact getNestedArtifact​(String name,
                                   boolean ignoreCase,
                                   org.eclipse.emf.ecore.EClass eClass,
                                   boolean createOnDemand)
        Retrieves the first Artifact with the specified 'Name' from the ' Nested Artifact' containment reference list.
        Parameters:
        name - The 'Name' of the Artifact to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Artifact to retrieve, or null.
        createOnDemand - Whether to create a Artifact on demand if not found.
        Returns:
        The first Artifact with the specified 'Name', or null.
        See Also:
        getNestedArtifacts()
      • getManifestations

        MDWEList<Manifestation> getManifestations()
        Returns the value of the 'Manifestation' containment reference list. The list contents are of type Manifestation. The set of model elements that are manifested in the Artifact. That is, these model elements are utilized in the construction (or generation) of the artifact.
        Returns:
        the value of the 'Manifestation' containment reference list.
        See Also:
        UMLPackage.getArtifact_Manifestation()
      • getManifestation

        Manifestation getManifestation​(String name,
                                       PackageableElement utilizedElement,
                                       boolean ignoreCase,
                                       boolean createOnDemand)
        Retrieves the first Manifestation with the specified 'Name', and ' Utilized Element' from the 'Manifestation' containment reference list.
        Parameters:
        name - The 'Name' of the Manifestation to retrieve, or null.
        utilizedElement - The 'Utilized Element' of the Manifestation to retrieve, or null .
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a Manifestation on demand if not found.
        Returns:
        The first Manifestation with the specified 'Name', and ' Utilized Element', or null.
        See Also:
        getManifestations()
      • getOwnedOperations

        MDWEList<Operation> getOwnedOperations()
        Returns the value of the 'Owned Operation' containment reference list. The list contents are of type Operation. The Operations defined for the Artifact. The association is a specialization of the ownedMember association.
        Returns:
        the value of the 'Owned Operation' containment reference list.
        See Also:
        UMLPackage.getArtifact_OwnedOperation()
      • createOwnedOperation

        Operation createOwnedOperation​(String name,
                                       MDWEList<String> ownedParameterNames,
                                       MDWEList<? extends Type> ownedParameterTypes)
        Creates a new Operation, with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Operation' containment reference list.
        Parameters:
        name - The 'Name' for the new Operation, or null.
        ownedParameterNames - The 'Owned Parameter Names' for the new Operation, or null.
        ownedParameterTypes - The 'Owned Parameter Types' for the new Operation, or null.
        Returns:
        The new Operation.
        See Also:
        getOwnedOperations()
      • getOwnedOperation

        Operation getOwnedOperation​(String name,
                                    MDWEList<String> ownedParameterNames,
                                    MDWEList<? extends Type> ownedParameterTypes)
        Retrieves the first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
        Parameters:
        name - The 'Name' of the Operation to retrieve, or null.
        ownedParameterNames - The 'Owned Parameter Names' of the Operation to retrieve, or null.
        ownedParameterTypes - The 'Owned Parameter Types' of the Operation to retrieve, or null.
        Returns:
        The first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', or null.
        See Also:
        getOwnedOperations()
      • getOwnedOperation

        Operation getOwnedOperation​(String name,
                                    MDWEList<String> ownedParameterNames,
                                    MDWEList<? extends Type> ownedParameterTypes,
                                    boolean ignoreCase,
                                    boolean createOnDemand)
        Retrieves the first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
        Parameters:
        name - The 'Name' of the Operation to retrieve, or null.
        ownedParameterNames - The 'Owned Parameter Names' of the Operation to retrieve, or null.
        ownedParameterTypes - The 'Owned Parameter Types' of the Operation to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a Operation on demand if not found.
        Returns:
        The first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', or null.
        See Also:
        getOwnedOperations()
      • getOwnedAttributes

        MDWEList<Property> getOwnedAttributes()
        Returns the value of the 'Owned Attribute' containment reference list. The list contents are of type Property. The attributes or association ends defined for the Artifact. The association is a specialization of the ownedMember association.
        Returns:
        the value of the 'Owned Attribute' containment reference list.
        See Also:
        UMLPackage.getArtifact_OwnedAttribute()
      • createOwnedAttribute

        Property createOwnedAttribute​(String name,
                                      Type type,
                                      org.eclipse.emf.ecore.EClass eClass)
        Creates a new Property, with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list.
        Parameters:
        name - The 'Name' for the new Property, or null.
        type - The 'Type' for the new Property, or null.
        eClass - The Ecore class of the Property to create.
        Returns:
        The new Property.
        See Also:
        getOwnedAttributes()
      • createOwnedAttribute

        Property createOwnedAttribute​(String name,
                                      Type type)
        Creates a new Property, with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list.
        Parameters:
        name - The 'Name' for the new Property, or null.
        type - The 'Type' for the new Property, or null.
        Returns:
        The new Property.
        See Also:
        getOwnedAttributes()
      • getOwnedAttribute

        Property getOwnedAttribute​(String name,
                                   Type type)
        Retrieves the first Property with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list.
        Parameters:
        name - The 'Name' of the Property to retrieve, or null.
        type - The 'Type' of the Property to retrieve, or null.
        Returns:
        The first Property with the specified 'Name', and 'Type', or null.
        See Also:
        getOwnedAttributes()
      • getOwnedAttribute

        Property getOwnedAttribute​(String name,
                                   Type type,
                                   boolean ignoreCase,
                                   org.eclipse.emf.ecore.EClass eClass,
                                   boolean createOnDemand)
        Retrieves the first Property with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list.
        Parameters:
        name - The 'Name' of the Property to retrieve, or null.
        type - The 'Type' of the Property to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Property to retrieve, or null.
        createOnDemand - Whether to create a Property on demand if not found.
        Returns:
        The first Property with the specified 'Name', and 'Type', or null.
        See Also:
        getOwnedAttributes()
      • createOwnedOperation

        Operation createOwnedOperation​(String name,
                                       MDWEList<String> parameterNames,
                                       MDWEList<? extends Type> parameterTypes,
                                       Type returnType)
        Creates an operation with the specified name, parameter names, parameter types, and return type (or null) as an owned operation of this artifact.
      • createOwnedAttribute

        Property createOwnedAttribute​(String name,
                                      Type type,
                                      int lower,
                                      int upper)
        Creates a property with the specified name, type, lower bound, and upper bound as an owned attribute of this artifact.