Schema constraints.xsd


schema location:  G:\www\AcmeWeb\pub\xAcme\constraints.xsd
targetNamespace:  http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
 
Complex types  Simple types 
ConstrainedArchInstance  ConstraintType 
ConstrainedComponentInstance 
ConstrainedConnectorInstance 
ConstrainedInterfaceInstance 
Constraint 


schema location:  http://www.ics.uci.edu/pub/arch/xarch/schemas/instance.xsd
targetNamespace:  http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
 
Elements  Complex types  Simple types 
archInstance  ArchInstance  Identifier 
xArch  ComponentInstance 
ConnectorInstance 
Description 
Direction 
Group 
InterfaceInstance 
InterfaceInstanceMapping 
LinkInstance 
Point 
SubArchitecture 
XMLLink 


schema location:  http://www.ics.uci.edu/pub/arch/xarch/schemas/xlink.xsd
targetNamespace:  http://www.w3.org/1999/xlink
 


complexType ConstrainedArchInstance
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type extension of properties:ArchInstance
children constraint
source
<xsd:complexType name="ConstrainedArchInstance">
  <xsd:complexContent>
    <xsd:extension base="properties:ArchInstance">
      <xsd:sequence>
        <xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>

element ConstrainedArchInstance/constraint
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type Constraint
attributes
Name  Type  Use  Default  Fixed  
description  xsd:string  required      
type  ConstraintType  optional      
source
<xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>

complexType ConstrainedComponentInstance
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type extension of families:TypedComponentInstance
children constraint
source
<xsd:complexType name="ConstrainedComponentInstance">
  <xsd:complexContent>
    <xsd:extension base="families:TypedComponentInstance">
      <xsd:sequence>
        <xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>

element ConstrainedComponentInstance/constraint
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type Constraint
attributes
Name  Type  Use  Default  Fixed  
description  xsd:string  required      
type  ConstraintType  optional      
source
<xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>

complexType ConstrainedConnectorInstance
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type extension of families:TypedConnectorInstance
children constraint
source
<xsd:complexType name="ConstrainedConnectorInstance">
  <xsd:complexContent>
    <xsd:extension base="families:TypedConnectorInstance">
      <xsd:sequence>
        <xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>

element ConstrainedConnectorInstance/constraint
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type Constraint
attributes
Name  Type  Use  Default  Fixed  
description  xsd:string  required      
type  ConstraintType  optional      
source
<xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>

complexType ConstrainedInterfaceInstance
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type extension of families:TypedInterfaceInstance
children constraint
source
<xsd:complexType name="ConstrainedInterfaceInstance">
  <xsd:complexContent>
    <xsd:extension base="families:TypedInterfaceInstance">
      <xsd:sequence>
        <xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>

element ConstrainedInterfaceInstance/constraint
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type Constraint
attributes
Name  Type  Use  Default  Fixed  
description  xsd:string  required      
type  ConstraintType  optional      
source
<xsd:element name="constraint" type="Constraint" minOccurs="0" maxOccurs="unbounded"/>

complexType Constraint
diagram
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
used by
elements ConstrainedComponentInstance/constraint ConstrainedConnectorInstance/constraint ConstrainedInterfaceInstance/constraint ConstrainedArchInstance/constraint
attributes
Name  Type  Use  Default  Fixed  
description  xsd:string  required      
type  ConstraintType  optional      
source
<xsd:complexType name="Constraint">
  <xsd:sequence/>
  <xsd:attribute name="description" type="xsd:string" use="required"/>
  <xsd:attribute name="type" type="ConstraintType" use="optional"/>
</xsd:complexType>

simpleType ConstraintType
namespace http://www.cs.cmu.edu/~acme/pub/xAcme/constraints.xsd
type xsd:string
used by
attribute Constraint/@type
source
<xsd:simpleType name="ConstraintType">
  <xsd:restriction base="xsd:string"/>
</xsd:simpleType>

element archinstance:archInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:ArchInstance
children description componentInstance connectorInstance linkInstance group
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="archInstance" type="ArchInstance"/>

element archinstance:xArch
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
source
<xsd:element name="xArch">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

complexType archinstance:ArchInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children description componentInstance connectorInstance linkInstance group
used by
elements archinstance:SubArchitecture/archInstance archinstance:archInstance
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:complexType name="ArchInstance">
  <xsd:sequence>
    <xsd:element name="description" type="Description"/>
    <xsd:element name="componentInstance" type="ComponentInstance" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="connectorInstance" type="ConnectorInstance" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="linkInstance" type="LinkInstance" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="group" type="Group" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="Identifier"/>
</xsd:complexType>

element archinstance:ArchInstance/description
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Description
source
<xsd:element name="description" type="Description"/>

element archinstance:ArchInstance/componentInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:ComponentInstance
children description interfaceInstance subArchitecture
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="componentInstance" type="ComponentInstance" minOccurs="0" maxOccurs="unbounded"/>

element archinstance:ArchInstance/connectorInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:ConnectorInstance
children description interfaceInstance subArchitecture
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="connectorInstance" type="ConnectorInstance" minOccurs="0" maxOccurs="unbounded"/>

element archinstance:ArchInstance/linkInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:LinkInstance
children description point
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="linkInstance" type="LinkInstance" minOccurs="0" maxOccurs="unbounded"/>

element archinstance:ArchInstance/group
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Group
children description member
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="group" type="Group" minOccurs="0" maxOccurs="unbounded"/>

complexType archinstance:ComponentInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children description interfaceInstance subArchitecture
used by
element archinstance:ArchInstance/componentInstance
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:complexType name="ComponentInstance">
  <xsd:sequence>
    <xsd:element name="description" type="Description"/>
    <xsd:element name="interfaceInstance" type="InterfaceInstance" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="subArchitecture" type="SubArchitecture" minOccurs="0"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="Identifier"/>
</xsd:complexType>

element archinstance:ComponentInstance/description
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Description
source
<xsd:element name="description" type="Description"/>

element archinstance:ComponentInstance/interfaceInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:InterfaceInstance
children description direction
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="interfaceInstance" type="InterfaceInstance" minOccurs="0" maxOccurs="unbounded"/>

element archinstance:ComponentInstance/subArchitecture
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:SubArchitecture
children archInstance interfaceInstanceMapping
source
<xsd:element name="subArchitecture" type="SubArchitecture" minOccurs="0"/>

complexType archinstance:ConnectorInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children description interfaceInstance subArchitecture
used by
element archinstance:ArchInstance/connectorInstance
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:complexType name="ConnectorInstance">
  <xsd:sequence>
    <xsd:element name="description" type="Description"/>
    <xsd:element name="interfaceInstance" type="InterfaceInstance" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="subArchitecture" type="SubArchitecture" minOccurs="0"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="Identifier"/>
</xsd:complexType>

element archinstance:ConnectorInstance/description
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Description
source
<xsd:element name="description" type="Description"/>

element archinstance:ConnectorInstance/interfaceInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:InterfaceInstance
children description direction
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="interfaceInstance" type="InterfaceInstance" minOccurs="0" maxOccurs="unbounded"/>

element archinstance:ConnectorInstance/subArchitecture
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:SubArchitecture
children archInstance interfaceInstanceMapping
source
<xsd:element name="subArchitecture" type="SubArchitecture" minOccurs="0"/>

complexType archinstance:Description
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type extension of xsd:string
used by
elements archinstance:InterfaceInstance/description archinstance:ComponentInstance/description archinstance:ConnectorInstance/description archinstance:LinkInstance/description archinstance:Group/description archinstance:ArchInstance/description
source
<xsd:complexType name="Description">
  <xsd:simpleContent>
    <xsd:extension base="xsd:string"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType archinstance:Direction
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type restriction of xsd:string
used by
element archinstance:InterfaceInstance/direction
facets
enumeration none
enumeration in
enumeration out
enumeration inout
source
<xsd:complexType name="Direction">
  <xsd:simpleContent>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="none"/>
      <xsd:enumeration value="in"/>
      <xsd:enumeration value="out"/>
      <xsd:enumeration value="inout"/>
    </xsd:restriction>
  </xsd:simpleContent>
</xsd:complexType>

complexType archinstance:Group
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children description member
used by
element archinstance:ArchInstance/group
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:complexType name="Group">
  <xsd:sequence>
    <xsd:element name="description" type="Description"/>
    <xsd:element name="member" type="XMLLink" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="Identifier"/>
</xsd:complexType>

element archinstance:Group/description
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Description
source
<xsd:element name="description" type="Description"/>

element archinstance:Group/member
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:XMLLink
attributes
Name  Type  Use  Default  Fixed  
xlink:type  xsd:string        
xlink:href  xsd:anyURI        
source
<xsd:element name="member" type="XMLLink" minOccurs="0" maxOccurs="unbounded"/>

complexType archinstance:InterfaceInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children description direction
used by
elements archinstance:ComponentInstance/interfaceInstance archinstance:ConnectorInstance/interfaceInstance
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:complexType name="InterfaceInstance">
  <xsd:sequence>
    <xsd:element name="description" type="Description"/>
    <xsd:element name="direction" type="Direction" minOccurs="0"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="Identifier"/>
</xsd:complexType>

element archinstance:InterfaceInstance/description
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Description
source
<xsd:element name="description" type="Description"/>

element archinstance:InterfaceInstance/direction
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Direction
facets
enumeration none
enumeration in
enumeration out
enumeration inout
source
<xsd:element name="direction" type="Direction" minOccurs="0"/>

complexType archinstance:InterfaceInstanceMapping
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children outerInterfaceInstance innerInterfaceInstance
used by
element archinstance:SubArchitecture/interfaceInstanceMapping
source
<xsd:complexType name="InterfaceInstanceMapping">
  <xsd:sequence>
    <xsd:element name="outerInterfaceInstance" type="XMLLink"/>
    <xsd:element name="innerInterfaceInstance" type="XMLLink"/>
  </xsd:sequence>
</xsd:complexType>

element archinstance:InterfaceInstanceMapping/outerInterfaceInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:XMLLink
attributes
Name  Type  Use  Default  Fixed  
xlink:type  xsd:string        
xlink:href  xsd:anyURI        
source
<xsd:element name="outerInterfaceInstance" type="XMLLink"/>

element archinstance:InterfaceInstanceMapping/innerInterfaceInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:XMLLink
attributes
Name  Type  Use  Default  Fixed  
xlink:type  xsd:string        
xlink:href  xsd:anyURI        
source
<xsd:element name="innerInterfaceInstance" type="XMLLink"/>

complexType archinstance:LinkInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children description point
used by
element archinstance:ArchInstance/linkInstance
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:complexType name="LinkInstance">
  <xsd:sequence>
    <xsd:element name="description" type="Description"/>
    <xsd:element name="point" type="Point" minOccurs="2" maxOccurs="2"/>
  </xsd:sequence>
  <xsd:attribute name="id" type="Identifier"/>
</xsd:complexType>

element archinstance:LinkInstance/description
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Description
source
<xsd:element name="description" type="Description"/>

element archinstance:LinkInstance/point
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:Point
children anchorOnInterface
source
<xsd:element name="point" type="Point" minOccurs="2" maxOccurs="2"/>

complexType archinstance:Point
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children anchorOnInterface
used by
element archinstance:LinkInstance/point
source
<xsd:complexType name="Point">
  <xsd:sequence>
    <xsd:element name="anchorOnInterface" type="XMLLink"/>
  </xsd:sequence>
</xsd:complexType>

element archinstance:Point/anchorOnInterface
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:XMLLink
attributes
Name  Type  Use  Default  Fixed  
xlink:type  xsd:string        
xlink:href  xsd:anyURI        
source
<xsd:element name="anchorOnInterface" type="XMLLink"/>

complexType archinstance:SubArchitecture
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
children archInstance interfaceInstanceMapping
used by
elements archinstance:ComponentInstance/subArchitecture archinstance:ConnectorInstance/subArchitecture
source
<xsd:complexType name="SubArchitecture">
  <xsd:sequence>
    <xsd:element name="archInstance" type="ArchInstance"/>
    <xsd:element name="interfaceInstanceMapping" type="InterfaceInstanceMapping" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>

element archinstance:SubArchitecture/archInstance
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:ArchInstance
children description componentInstance connectorInstance linkInstance group
attributes
Name  Type  Use  Default  Fixed  
id  Identifier        
source
<xsd:element name="archInstance" type="ArchInstance"/>

element archinstance:SubArchitecture/interfaceInstanceMapping
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type archinstance:InterfaceInstanceMapping
children outerInterfaceInstance innerInterfaceInstance
source
<xsd:element name="interfaceInstanceMapping" type="InterfaceInstanceMapping" minOccurs="0" maxOccurs="unbounded"/>

complexType archinstance:XMLLink
diagram
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
used by
elements archinstance:Point/anchorOnInterface archinstance:InterfaceInstanceMapping/innerInterfaceInstance archinstance:Group/member archinstance:InterfaceInstanceMapping/outerInterfaceInstance
attributes
Name  Type  Use  Default  Fixed  
xlink:type  xsd:string        
xlink:href  xsd:anyURI        
source
<xsd:complexType name="XMLLink">
  <xsd:attribute ref="xlink:type"/>
  <xsd:attribute ref="xlink:href"/>
</xsd:complexType>

simpleType archinstance:Identifier
namespace http://www.ics.uci.edu/pub/arch/xArch/instance.xsd
type restriction of xsd:ID
used by
attributes archinstance:InterfaceInstance/@id archinstance:ComponentInstance/@id archinstance:ConnectorInstance/@id archinstance:LinkInstance/@id archinstance:Group/@id archinstance:ArchInstance/@id
facets
minLength 1
source
<xsd:simpleType name="Identifier">
  <xsd:restriction base="xsd:ID">
    <xsd:minLength value="1"/>
  </xsd:restriction>
</xsd:simpleType>


XML Schema documentation generated with
XML Spy Schema Editor www.xmlspy.com