complexType "uml:PackageMerge"
Namespace:
Content:
complex, 8 attributes, 4 elements
Defined:
globally in UML2XMI.xsd; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
xsd:ID
 = 
xsd:string
 = 
xsd:string
 = 
xsd:string
 = 
xsd:IDREF
 = 
"2.0"
 = 
xsd:QName
 = 
xsd:string
    >
   
Content: 
xmi:Extension*, eAnnotations*, ownedComment*, mergedPackage*
</...>
All Direct / Indirect Based Elements (3):
packageExtension, uml:PackageMerge
Known Usage Locations
Annotation
A package merge is a relationship between two packages, where the contents of the target package (the one pointed at) is merged with the contents of the source package through specialization and redefinition, where applicable. This is a mechanism that should be used when elements of the same name are intended to represent the same concept, regardless of the package in which they are defined. A merging package will take elements of the same kind with the same name from one or more packages and merge them together into a single element using generalization and redefinitions. It should be noted that a package merge can be viewed as a short-hand way of explicitly defining those generalizations and redefinitions. The merged packages are still available, and the elements in those packages can be separately qualified. From an XMI point of view, it is either possible to exchange a model with all PackageMerges retained or a model where all PackageMerges have been transformed away (in which case package imports, generalizations, and redefinitions are used instead).
Type Definition Detail
Type Derivation Tree
ecore:EObject (extension)
  ecore:EModelElement (extension)
      uml:Element (extension)
          uml:Relationship (extension)
              uml:DirectedRelationship (extension)
                  uml:PackageMerge
XML Source (w/o annotations (3); see within schema source)
<xsd:complexType name="PackageMerge">
<xsd:complexContent>
<xsd:extension base="uml:DirectedRelationship">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="mergedPackage" type="uml:Package"/>
</xsd:choice>
<xsd:attribute name="mergedPackage" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 1/8)
mergedPackage
Type:
xsd:string, predefined
Use:
optional
References the Package that is to be merged with the source of the PackageMerge. Subsets DirectedRelationship;;target.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="mergedPackage" type="xsd:string"/>
Content Element Detail (all declarations; defined within this component only; 1/4)
mergedPackage
Type:
uml:Package, complex content
References the Package that is to be merged with the source of the PackageMerge. Subsets DirectedRelationship;;target.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="mergedPackage" type="uml:Package"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.