Schema main-schema.xsd


schema location:  D:\hasthi.sf\main-schema.xsd
 
Elements  Complex types  Simple types 
projectModel  AssociationType  AssociationDirectionType 
AttributeListType  ClassCatagoryType 
AttributeType  ScopeType 
ClassModelType  StereotypeType 
ClassType 
DepedancyType 
ExceptionListType 
ExceptionType 
MethodListType 
MethodType 
PackageType 
ParameterListType 
ParameterType 
ProjectModelType 
RelationshipType 
StartEndElementType 
UMLClassComponentType 
UMLElementType 
UMLNoteType 


element projectModel
diagram
type ProjectModelType
children ClassModel
attributes
Name  Type  Use  Default  Fixed  Annotation
projectName  xs:string        
projectAuthor  xs:string        
source
<xs:element name="projectModel" type="ProjectModelType"/>

complexType AssociationType
diagram
type extension of RelationshipType
children description startElement endElement
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
association  xs:IDREF        
direction  AssociationDirectionType        
source
<xs:complexType name="AssociationType">
  <xs:complexContent>
    <xs:extension base="RelationshipType">
      <xs:attribute name="association" type="xs:IDREF"/>
      <xs:attribute name="direction" type="AssociationDirectionType"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

complexType AttributeListType
diagram
children attribute
used by
element ClassType/attributeList
source
<xs:complexType name="AttributeListType">
  <xs:sequence>
    <xs:element name="attribute" type="AttributeType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element AttributeListType/attribute
diagram
type AttributeType
children description
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
type  xs:string        
scopeModifier  ScopeType        
isStatic  xs:boolean        
isFinal  xs:boolean        
defaultValue  xs:string        
source
<xs:element name="attribute" type="AttributeType" minOccurs="0" maxOccurs="unbounded"/>

complexType AttributeType
diagram
type extension of UMLElementType
children description
used by
element AttributeListType/attribute
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
type  xs:string        
scopeModifier  ScopeType        
isStatic  xs:boolean        
isFinal  xs:boolean        
defaultValue  xs:string        
source
<xs:complexType name="AttributeType">
  <xs:complexContent>
    <xs:extension base="UMLElementType">
      <xs:attribute name="type" type="xs:string"/>
      <xs:attribute name="scopeModifier" type="ScopeType"/>
      <xs:attribute name="isStatic" type="xs:boolean"/>
      <xs:attribute name="isFinal" type="xs:boolean"/>
      <xs:attribute name="defaultValue" type="xs:string"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

complexType ClassModelType
diagram
children packageList
used by
element ProjectModelType/ClassModel
source
<xs:complexType name="ClassModelType">
  <xs:all>
    <xs:element name="packageList">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="package" type="PackageType" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:all>
</xs:complexType>

element ClassModelType/packageList
diagram
children package
source
<xs:element name="packageList">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="package" type="PackageType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ClassModelType/packageList/package
diagram
type PackageType
children classList packageList noteList
source
<xs:element name="package" type="PackageType" maxOccurs="unbounded"/>

complexType ClassType
diagram
type extension of UMLClassComponentType
children description methodList attributeList
used by
element PackageType/classList/class
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
parent  xs:IDREF        
scope  ScopeType        
catagory  ClassCatagoryType        
stereotype  StereotypeType        
source
<xs:complexType name="ClassType">
  <xs:complexContent>
    <xs:extension base="UMLClassComponentType">
      <xs:all>
        <xs:element name="methodList" type="MethodListType"/>
        <xs:element name="attributeList" type="AttributeListType"/>
      </xs:all>
      <xs:attribute name="parent" type="xs:IDREF"/>
      <xs:attribute name="scope" type="ScopeType"/>
      <xs:attribute name="catagory" type="ClassCatagoryType"/>
      <xs:attribute name="stereotype" type="StereotypeType"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

element ClassType/methodList
diagram
type MethodListType
children method
source
<xs:element name="methodList" type="MethodListType"/>

element ClassType/attributeList
diagram
type AttributeListType
children attribute
source
<xs:element name="attributeList" type="AttributeListType"/>

complexType DepedancyType
diagram
type extension of RelationshipType
children description startElement endElement
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:complexType name="DepedancyType">
  <xs:complexContent>
    <xs:extension base="RelationshipType"/>
  </xs:complexContent>
</xs:complexType>

complexType ExceptionListType
diagram
children exception
used by
element MethodType/exceptionList
source
<xs:complexType name="ExceptionListType">
  <xs:sequence>
    <xs:element name="exception" type="ExceptionType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element ExceptionListType/exception
diagram
type ExceptionType
children description name
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:element name="exception" type="ExceptionType" minOccurs="0" maxOccurs="unbounded"/>

complexType ExceptionType
diagram
type extension of UMLElementType
children description name
used by
element ExceptionListType/exception
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:complexType name="ExceptionType">
  <xs:complexContent>
    <xs:extension base="UMLElementType">
      <xs:all>
        <xs:element name="name" type="xs:string"/>
      </xs:all>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

element ExceptionType/name
diagram
type xs:string
source
<xs:element name="name" type="xs:string"/>

complexType MethodListType
diagram
children method
used by
element ClassType/methodList
source
<xs:complexType name="MethodListType">
  <xs:sequence>
    <xs:element name="method" type="MethodType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element MethodListType/method
diagram
type MethodType
children description exceptionList parameterList
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
returnType  xs:string        
scopeModifier  ScopeType        
isFinal  xs:boolean        
isStatic  xs:boolean        
isSync  xs:boolean        
isAbstract  xs:boolean        
source
<xs:element name="method" type="MethodType" minOccurs="0" maxOccurs="unbounded"/>

complexType MethodType
diagram
type extension of UMLElementType
children description exceptionList parameterList
used by
element MethodListType/method
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
returnType  xs:string        
scopeModifier  ScopeType        
isFinal  xs:boolean        
isStatic  xs:boolean        
isSync  xs:boolean        
isAbstract  xs:boolean        
source
<xs:complexType name="MethodType">
  <xs:complexContent>
    <xs:extension base="UMLElementType">
      <xs:all>
        <xs:element name="exceptionList" type="ExceptionListType" minOccurs="0"/>
        <xs:element name="parameterList" type="ParameterListType" minOccurs="0"/>
      </xs:all>
      <xs:attribute name="returnType" type="xs:string"/>
      <xs:attribute name="scopeModifier" type="ScopeType"/>
      <xs:attribute name="isFinal" type="xs:boolean"/>
      <xs:attribute name="isStatic" type="xs:boolean"/>
      <xs:attribute name="isSync" type="xs:boolean"/>
      <xs:attribute name="isAbstract" type="xs:boolean"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

element MethodType/exceptionList
diagram
type ExceptionListType
children exception
source
<xs:element name="exceptionList" type="ExceptionListType" minOccurs="0"/>

element MethodType/parameterList
diagram
type ParameterListType
children parameter
source
<xs:element name="parameterList" type="ParameterListType" minOccurs="0"/>

complexType PackageType
diagram
children classList packageList noteList
used by
elements PackageType/packageList/package ClassModelType/packageList/package
source
<xs:complexType name="PackageType">
  <xs:all>
    <xs:element name="classList">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="class" type="ClassType" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="packageList">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="package" type="PackageType" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="noteList">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="note" type="UMLNoteType" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <!-- Package List -->
  </xs:all>
</xs:complexType>

element PackageType/classList
diagram
children class
source
<xs:element name="classList">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="class" type="ClassType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PackageType/classList/class
diagram
type ClassType
children description methodList attributeList
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
parent  xs:IDREF        
scope  ScopeType        
catagory  ClassCatagoryType        
stereotype  StereotypeType        
source
<xs:element name="class" type="ClassType" maxOccurs="unbounded"/>

element PackageType/packageList
diagram
children package
source
<xs:element name="packageList">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="package" type="PackageType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PackageType/packageList/package
diagram
type PackageType
children classList packageList noteList
source
<xs:element name="package" type="PackageType" maxOccurs="unbounded"/>

element PackageType/noteList
diagram
children note
source
<xs:element name="noteList">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="note" type="UMLNoteType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element PackageType/noteList/note
diagram
type UMLNoteType
children description
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:element name="note" type="UMLNoteType" maxOccurs="unbounded"/>

complexType ParameterListType
diagram
children parameter
used by
element MethodType/parameterList
source
<xs:complexType name="ParameterListType">
  <xs:sequence>
    <xs:element name="parameter" type="ParameterType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element ParameterListType/parameter
diagram
type ParameterType
children description
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
parameterName  xs:string        
parameterType  xs:string        
source
<xs:element name="parameter" type="ParameterType" minOccurs="0" maxOccurs="unbounded"/>

complexType ParameterType
diagram
type extension of UMLElementType
children description
used by
element ParameterListType/parameter
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
parameterName  xs:string        
parameterType  xs:string        
source
<xs:complexType name="ParameterType">
  <xs:complexContent>
    <xs:extension base="UMLElementType">
      <xs:attribute name="parameterName" type="xs:string"/>
      <xs:attribute name="parameterType" type="xs:string"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

complexType ProjectModelType
diagram
children ClassModel
used by
element projectModel
attributes
Name  Type  Use  Default  Fixed  Annotation
projectName  xs:string        
projectAuthor  xs:string        
source
<xs:complexType name="ProjectModelType">
  <xs:all>
    <xs:element name="ClassModel" type="ClassModelType"/>
  </xs:all>
  <xs:attribute name="projectName" type="xs:string"/>
  <xs:attribute name="projectAuthor" type="xs:string"/>
</xs:complexType>

element ProjectModelType/ClassModel
diagram
type ClassModelType
children packageList
source
<xs:element name="ClassModel" type="ClassModelType"/>

complexType RelationshipType
diagram
type extension of UMLElementType
children description startElement endElement
used by
complexTypes AssociationType DepedancyType
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:complexType name="RelationshipType">
  <xs:complexContent>
    <xs:extension base="UMLElementType">
      <xs:all>
        <xs:element name="startElement" type="StartEndElementType"/>
        <xs:element name="endElement" type="StartEndElementType"/>
      </xs:all>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

element RelationshipType/startElement
diagram
type StartEndElementType
children description
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
refid  xs:IDREF        
multiplicity  xs:integer        
source
<xs:element name="startElement" type="StartEndElementType"/>

element RelationshipType/endElement
diagram
type StartEndElementType
children description
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
refid  xs:IDREF        
multiplicity  xs:integer        
source
<xs:element name="endElement" type="StartEndElementType"/>

complexType StartEndElementType
diagram
type extension of UMLElementType
children description
used by
elements RelationshipType/endElement RelationshipType/startElement
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
refid  xs:IDREF        
multiplicity  xs:integer        
source
<xs:complexType name="StartEndElementType">
  <xs:complexContent>
    <xs:extension base="UMLElementType">
      <xs:attribute name="refid" type="xs:IDREF"/>
      <xs:attribute name="multiplicity" type="xs:integer"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

complexType UMLClassComponentType
diagram
type extension of UMLElementType
children description
used by
complexType ClassType
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:complexType name="UMLClassComponentType">
  <xs:complexContent>
    <xs:extension base="UMLElementType"/>
  </xs:complexContent>
</xs:complexType>

complexType UMLElementType
diagram
children description
used by
complexTypes AttributeType ExceptionType MethodType ParameterType RelationshipType StartEndElementType UMLClassComponentType UMLNoteType
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:complexType name="UMLElementType">
  <xs:all>
    <xs:element name="description" type="xs:string"/>
  </xs:all>
  <xs:attribute name="name" type="xs:string"/>
  <xs:attribute name="id" type="xs:ID" use="required"/>
</xs:complexType>

element UMLElementType/description
diagram
type xs:string
source
<xs:element name="description" type="xs:string"/>

complexType UMLNoteType
diagram
type extension of UMLElementType
children description
used by
element PackageType/noteList/note
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string        
id  xs:ID  required      
source
<xs:complexType name="UMLNoteType">
  <xs:complexContent>
    <xs:extension base="UMLElementType"/>
  </xs:complexContent>
</xs:complexType>

simpleType AssociationDirectionType
type restriction of xs:string
used by
attribute AssociationType/@direction
facets
enumeration uni
enumeration bi
source
<xs:simpleType name="AssociationDirectionType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="uni"/>
    <xs:enumeration value="bi"/>
  </xs:restriction>
</xs:simpleType>

simpleType ClassCatagoryType
type restriction of xs:string
used by
attribute ClassType/@catagory
facets
enumeration interface
enumeration abstract
enumeration concrete
source
<xs:simpleType name="ClassCatagoryType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="interface"/>
    <xs:enumeration value="abstract"/>
    <xs:enumeration value="concrete"/>
  </xs:restriction>
</xs:simpleType>

simpleType ScopeType
type restriction of xs:string
used by
attributes ClassType/@scope AttributeType/@scopeModifier MethodType/@scopeModifier
facets
enumeration public
enumeration private
enumeration protected
enumeration 
source
<xs:simpleType name="ScopeType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="public"/>
    <xs:enumeration value="private"/>
    <xs:enumeration value="protected"/>
    <xs:enumeration value=""/>
  </xs:restriction>
</xs:simpleType>

simpleType StereotypeType
type restriction of xs:string
used by
attribute ClassType/@stereotype
facets
enumeration boundry
enumeration entity
enumeration control
source
<xs:simpleType name="StereotypeType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="boundry"/>
    <xs:enumeration value="entity"/>
    <xs:enumeration value="control"/>
  </xs:restriction>
</xs:simpleType>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy