Changeset 298


Ignore:
Timestamp:
06/28/12 15:23:13 (13 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xssim/trunk/src/test/rewolucja/schemas/XSSimResSchema.xsd

    r296 r298  
    2020        </xs:complexType> 
    2121 
    22         <xs:complexType name="computingResourceTemplateType"> 
     22        <xs:complexType name="computingResourceType"> 
    2323                <xs:annotation> 
    2424                        <xs:documentation>Computing resource template</xs:documentation> 
     
    3030                                                <xs:element name="computingResource" type="computingResourceType"></xs:element> 
    3131                                                <xs:element name="resourceUnit" type="resourceUnitType"></xs:element> 
    32                                                 <xs:element name="otherParameter" type="parameterType"/> 
     32                                                <xs:element name="otherParameter" type="parameterType"></xs:element> 
    3333                                        </xs:choice> 
    3434                                        <xs:element name="energyEstimationPlugin" type="energyEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> 
    3535                                        <xs:element name="energyPowerProfile" type="energyPowerProfileType" minOccurs="0" maxOccurs="1"></xs:element> 
    36                                 </xs:sequence> 
    37                                 <xs:attribute name="count" type="xs:integer" use="optional" /> 
    38                         </xs:extension> 
    39                 </xs:complexContent> 
    40         </xs:complexType> 
    41          
    42         <xs:complexType name="computingResourceType"> 
     36                                        <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"></xs:element> 
     37                                </xs:sequence> 
     38                                <xs:attribute name="groupId" type="xs:integer" use="optional"/> 
     39                                <xs:attribute name="templateId" type="xs:IDREF" use="optional"/>                                 
     40                                <xs:attribute name="count" type="xs:integer" use="optional"/> 
     41                        </xs:extension> 
     42                </xs:complexContent> 
     43        </xs:complexType> 
     44         
     45        <xs:complexType name="computingResourceTemplateType"> 
    4346                <xs:annotation> 
    4447                        <xs:documentation>Computing resource instance</xs:documentation> 
    4548                </xs:annotation> 
    4649                <xs:complexContent> 
    47                         <xs:extension base="computingResourceTemplateType"> 
    48                                 <xs:sequence minOccurs="0" maxOccurs="1"> 
    49                                         <xs:element name="location" type="locationType"></xs:element> 
    50                                 </xs:sequence> 
    51                                 <xs:attribute name="groupId" type="xs:integer" use="optional"/> 
     50                        <xs:extension base="resourceType"> 
     51                                <xs:sequence> 
     52                                        <xs:choice minOccurs="0" maxOccurs="unbounded"> 
     53                                                <xs:element name="computingResource" type="computingResourceTemplateType"></xs:element> 
     54                                                <xs:element name="resourceUnit" type="resourceUnitType"></xs:element> 
     55                                                <xs:element name="otherParameter" type="parameterType"></xs:element> 
     56                                        </xs:choice> 
     57                                        <xs:element name="energyEstimationPlugin" type="energyEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> 
     58                                        <xs:element name="energyPowerProfile" type="energyPowerProfileType" minOccurs="0" maxOccurs="1"></xs:element> 
     59                                </xs:sequence> 
     60                                <xs:attribute name="count" type="xs:integer" use="optional"/> 
    5261                                <xs:attribute name="templateId" type="xs:IDREF" use="optional"/> 
    5362                        </xs:extension> 
Note: See TracChangeset for help on using the changeset viewer.