complexType "uml:ElementImport"
Namespace:
Content:
complex, 10 attributes, 4 elements
Defined:
globally in UML2XMI.xsd; see XML source
Includes:
definitions of 3 attributes, 1 element
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
xsd:ID
 = 
xsd:string
 = 
xsd:string
 = 
xsd:string
 = 
xsd:IDREF
 = 
"2.0"
 = 
xsd:QName
 = 
("public" | "private" | "protected" | "package")
 = 
xsd:string
 = 
xsd:string
    >
   
Content: 
xmi:Extension*, eAnnotations*, ownedComment*, importedElement*
</...>
All Direct / Indirect Based Elements (3):
elementImport, uml:ElementImport
Known Usage Locations
Annotation
An element import is defined as a directed relationship between an importing namespace and a packageable element. The name of the packageable element or its alias is to be added to the namespace of the importing namespace. It is also possible to control whether the imported element can be further imported.
Type Definition Detail
Type Derivation Tree
ecore:EObject (extension)
  ecore:EModelElement (extension)
      uml:Element (extension)
          uml:Relationship (extension)
              uml:DirectedRelationship (extension)
                  uml:ElementImport
XML Source (w/o annotations (5); see within schema source)
<xsd:complexType name="ElementImport">
<xsd:complexContent>
<xsd:extension base="uml:DirectedRelationship">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="importedElement" type="uml:PackageableElement"/>
</xsd:choice>
<xsd:attribute name="visibility" type="uml:VisibilityKind"/>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="importedElement" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 3/10)
alias
Type:
xsd:string, predefined
Use:
optional
Specifies the name that should be added to the namespace of the importing Pack-age in lieu of the name of the imported PackagableElement. The aliased name must not clash with any other member name in the importing Package. By default, no alias is used.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="alias" type="xsd:string"/>

importedElement
Type:
xsd:string, predefined
Use:
optional
Specifies the PackageableElement whose name is to be added to a Namespace. Subsets DirectedRelationship::target.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="importedElement" type="xsd:string"/>

visibility
Type:
Use:
optional
Specifies the visibility of the imported PackageableElement within the importing Package. The default visibility is the same as that of the imported element. If the imported element does not have a visibility, it is possible to add visibility to the element import.
Attribute Value
enumeration of xsd:NCName
Enumeration:
"public", "private", "protected", "package"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="visibility" type="uml:VisibilityKind"/>
Content Element Detail (all declarations; defined within this component only; 1/4)
importedElement
Type:
uml:PackageableElement, complex content
Specifies the PackageableElement whose name is to be added to a Namespace. Subsets DirectedRelationship::target.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="importedElement" type="uml:PackageableElement"/>

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.