- Timestamp:
- 07/19/12 15:18:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xssim/trunk/src/test/rewolucja/schemas/XSSimResSchema.xsd
r341 r343 67 67 <xs:element name="resourceUnit" type="resourceUnitType" minOccurs="0" maxOccurs="unbounded"></xs:element> 68 68 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> 69 <xs:element name="energyEstimationPlugin" type="energyEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element>70 69 <xs:element name="profile" type="profileType" minOccurs="0" maxOccurs="1"></xs:element> 71 70 <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="1"></xs:element> … … 131 130 <xs:extension base="pluginType"> 132 131 <xs:sequence> 133 <xs:element name="frequency" type=" valueWithUnitType" minOccurs="0" maxOccurs="1"></xs:element>132 <xs:element name="frequency" type="doubleValueWithUnitType" minOccurs="0" maxOccurs="1"></xs:element> 134 133 </xs:sequence> 135 134 </xs:extension> … … 145 144 <xs:extension base="resourceType"> 146 145 <xs:sequence> 147 <xs:element name="amount" type=" valueWithUnitType"/>146 <xs:element name="amount" type="doubleValueWithUnitType"/> 148 147 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> 149 148 </xs:sequence> … … 152 151 </xs:complexType> 153 152 154 <xs:complexType name=" valueWithUnitType">155 <xs:annotation> 156 <xs:documentation> ValueWitUnit derived from double. Allows providing units in which a given value is expressed153 <xs:complexType name="doubleValueWithUnitType"> 154 <xs:annotation> 155 <xs:documentation>DoubleValueWitUnit derived from double. Allows providing units in which a given value is expressed 157 156 Attributes: unit - indicate appropriate units, for instance: seconds, watts, bytes etc. </xs:documentation> 158 157 </xs:annotation> … … 164 163 </xs:complexType> 165 164 165 <xs:complexType name="stringValueWithUnitType"> 166 <xs:annotation> 167 <xs:documentation>StringValueWitUnit derived from string. Allows providing units in which a given value is expressed 168 Attributes: unit - indicate appropriate units. </xs:documentation> 169 </xs:annotation> 170 <xs:simpleContent> 171 <xs:extension base="xs:string"> 172 <xs:attribute name="unit" type="xs:string" use="optional"/> 173 </xs:extension> 174 </xs:simpleContent> 175 </xs:complexType> 176 166 177 <xs:complexType name="managedComputingResourcesType"> 167 178 <xs:annotation> … … 203 214 <xs:complexType name="powerProfileType"> 204 215 <xs:annotation> 205 <xs:documentation>Power profile provides powerState and other power-related parameters definition</xs:documentation> 206 </xs:annotation> 207 <xs:sequence> 216 <xs:documentation>Power profile provides energyEstimation plugin, powerStates and other power-related parameters definition</xs:documentation> 217 </xs:annotation> 218 <xs:sequence> 219 <xs:element name="energyEstimationPlugin" type="energyEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> 208 220 <xs:element name="powerStates" type="powerStatesType" minOccurs="0"></xs:element> 209 221 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> … … 229 241 <xs:sequence> 230 242 <xs:element name="name" type="xs:string"></xs:element> 231 <xs:element name="powerUsage" type=" valueWithUnitType" minOccurs="0" maxOccurs="1"></xs:element>243 <xs:element name="powerUsage" type="doubleValueWithUnitType" minOccurs="0" maxOccurs="1"></xs:element> 232 244 <xs:element name="transition" type="powerStatesTransitionType" minOccurs="0" maxOccurs="unbounded"></xs:element> 233 245 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> … … 244 256 <xs:sequence> 245 257 <xs:element name="to" type="xs:string"></xs:element> 246 <xs:element name="powerUsage" type="valueWithUnitType"></xs:element> 247 <xs:element name="time" type="valueWithUnitType"></xs:element> 248 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> 249 </xs:sequence> 258 <xs:element name="powerUsage" type="doubleValueWithUnitType"></xs:element> 259 <xs:element name="time" type="doubleValueWithUnitType"></xs:element> 260 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> 261 </xs:sequence> 262 </xs:complexType> 263 264 <xs:complexType name="airThroughputEstimationPluginType"> 265 <xs:annotation> 266 <xs:documentation>AirThroughputEstimationPlugin derived from Plugin. 267 Air Throughput plugin is used to estimate air flow value based on the defined air throughput states</xs:documentation> 268 </xs:annotation> 269 <xs:complexContent> 270 <xs:extension base="pluginType"/> 271 </xs:complexContent> 250 272 </xs:complexType> 251 273 252 274 <xs:complexType name="airThroughputProfileType"> 253 275 <xs:annotation> 254 <xs:documentation>AirThrouhputProfile type acts as a container for air throughput states</xs:documentation> 276 <xs:documentation>AirThrouhputProfile provides airThroughputEstimation plugin, airThroughputStates and other airThroughput-related parameters definition</xs:documentation> 277 </xs:annotation> 278 <xs:sequence> 279 <xs:element name="airThroughputEstimationPlugin" type="airThroughputEstimationPluginType" minOccurs="0" maxOccurs="1"></xs:element> 280 <xs:element name="airThroughputStates" type="airThroughputStatesType" minOccurs="1" maxOccurs="unbounded"></xs:element> 281 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> 282 </xs:sequence> 283 </xs:complexType> 284 285 <xs:complexType name="airThroughputStatesType"> 286 <xs:annotation> 287 <xs:documentation>AirThroughputState type act as a container for air throughput states.</xs:documentation> 255 288 </xs:annotation> 256 289 <xs:sequence> … … 266 299 <xs:sequence> 267 300 <xs:element name="name" type="xs:string"></xs:element> 268 <xs:element name="value" type=" valueWithUnitType"></xs:element>269 <xs:element name="powerUsage" type=" valueWithUnitType" minOccurs="0"></xs:element>301 <xs:element name="value" type="doubleValueWithUnitType"></xs:element> 302 <xs:element name="powerUsage" type="doubleValueWithUnitType" minOccurs="0"></xs:element> 270 303 <xs:element name="parameter" type="parameterType" minOccurs="0" maxOccurs="unbounded"></xs:element> 271 304 </xs:sequence> … … 291 324 </xs:annotation> 292 325 <xs:choice> 293 <xs:element name="value" type=" xs:string" minOccurs="0" maxOccurs="unbounded"/>326 <xs:element name="value" type="stringValueWithUnitType" minOccurs="0" maxOccurs="unbounded"/> 294 327 <xs:sequence> 295 328 <xs:element name="property" minOccurs="0" maxOccurs="unbounded"> … … 300 333 </xs:annotation> 301 334 <xs:sequence> 302 <xs:element name="value" type=" xs:string" minOccurs="0" maxOccurs="unbounded"/>335 <xs:element name="value" type="stringValueWithUnitType" minOccurs="0" maxOccurs="unbounded"/> 303 336 </xs:sequence> 304 337 <xs:attribute name="name" type="xs:string" use="required"/>
Note: See TracChangeset
for help on using the changeset viewer.