complexType "uml:Package"
Namespace:
Content:
complex, 13 attributes, 15 elements
Defined:
globally in UML2XMI.xsd; see XML source
Includes:
definitions of 3 attributes, 5 elements
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
xsd:ID
 = 
xsd:string
 = 
xsd:string
 = 
xsd:string
 = 
xsd:IDREF
 = 
"2.0"
 = 
xsd:QName
 = 
xsd:string
 = 
("public" | "private" | "protected" | "package")
 = 
xsd:string
 = 
xsd:string
 = 
("public" | "private" | "protected" | "package")
 = 
xsd:string
    >
   
Content: 
xmi:Extension*, eAnnotations*, ownedComment*, (templateBinding | ownedTemplateSignature)*, (clientDependency | nameExpression)*, (ownedRule | elementImport | packageImport)*, (templateParameter | ownedMember | packageMerge | appliedProfile | packageExtension)*
</...>
Known Direct Subtypes (2):
uml:Model, uml:Profile
All Direct / Indirect Based Elements (6):
importedPackage, uml:Model,
Known Usage Locations
Annotation
A package is a namespace for its members, and may contain other packages. Only packageable elements can be owned members of a package. By virtue of being a namespace, a package can import either individual members of other packages, or all the members of other packages. In addition a package can be merged with other packages.
Type Definition Detail
Type Derivation Tree
ecore:EObject (extension)
  ecore:EModelElement (extension)
      uml:Element (extension)
          uml:TemplateableElement (extension)
              uml:NamedElement (extension)
                  uml:Namespace (extension)
                      uml:Package
XML Source (w/o annotations (3); see within schema source)
<xsd:complexType name="Package">
<xsd:complexContent>
<xsd:extension base="uml:Namespace">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="templateParameter" type="uml:TemplateParameter"/>
<xsd:element name="ownedMember" type="uml:PackageableElement"/>
<xsd:element name="packageMerge" type="uml:PackageMerge"/>
<xsd:element name="appliedProfile" type="uml:ProfileApplication"/>
<xsd:element name="packageExtension" type="uml:PackageMerge"/>
</xsd:choice>
<xsd:attribute name="templateParameter" type="xsd:string"/>
<xsd:attribute name="packageableElement_visibility" type="uml:VisibilityKind"/>
<xsd:attribute name="appliedProfile" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 3/13)
appliedProfile
Type:
xsd:string, predefined
Use:
optional
XML Source (see within schema source)
<xsd:attribute name="appliedProfile" type="xsd:string"/>

packageableElement_visibility
Type:
Use:
optional
Indicates that packageable elements must always have a visibility, i.e., visibility is not optional. Redefines NamedElement::visibility.
Attribute Value
enumeration of xsd:NCName
Enumeration:
"public", "private", "protected", "package"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="packageableElement_visibility" type="uml:VisibilityKind"/>

templateParameter
Type:
xsd:string, predefined
Use:
optional
XML Source (see within schema source)
<xsd:attribute name="templateParameter" type="xsd:string"/>
Content Element Detail (all declarations; defined within this component only; 5/15)
appliedProfile
Type:
uml:ProfileApplication, complex content
XML Source (see within schema source)
<xsd:element name="appliedProfile" type="uml:ProfileApplication"/>

ownedMember
Type:
uml:PackageableElement, complex content
Specifies the members that are owned by this Package. Redefines Namespace::ownedMember.
XML Source (w/o annotations (1); see within schema source)
<xsd:element name="ownedMember" type="uml:PackageableElement"/>

packageExtension
Type:
uml:PackageMerge, complex content
XML Source (see within schema source)
<xsd:element name="packageExtension" type="uml:PackageMerge"/>

packageMerge
Type:
uml:PackageMerge, complex content
XML Source (see within schema source)
<xsd:element name="packageMerge" type="uml:PackageMerge"/>

templateParameter
Type:
uml:TemplateParameter, complex content
XML Source (see within schema source)
<xsd:element name="templateParameter" type="uml:TemplateParameter"/>

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.