strolch/model/src/test/resources/data/resources/Resources.xml

56 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<StrolchModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://strolch.li/schema/StrolchModel.xsd"
xsi:schemaLocation="https://strolch.li/schema/StrolchModel.xsd https://strolch.li/xsd/StrolchModel-2.0.xsd">
<IncludeFile file="Templates.xml"/>
<Resource Id="MyTestResource" Name="Test Name" Type="TestType">
<ParameterBag Id="@bag01" Name="Test Bag" Type="TestBag">
<Parameter Id="@param9" Name="Text Param" Type="Text"><![CDATA[here we have the content
and some more
content over multiple lines]]></Parameter>
<Parameter Id="@param8" Name="Duration Param" Type="Duration" Value="P1D"/>
<Parameter Id="@param7" Name="StringList Param" Type="StringList" Value="Hello;World"/>
<Parameter Id="@param6" Name="Date Param" Type="Date" Value="2012-11-30T18:12:05.628+01:00"/>
<Parameter Id="@param5" Name="String Param" Type="String" Value="Strolch"/>
<Parameter Id="@param4" Name="Long Param" Type="Long" Value="4453234566"/>
<Parameter Id="@param3" Name="Integer Param" Type="Integer" Value="77"/>
<Parameter Id="@param2" Name="Float Param" Type="Float" Value="44.3"/>
<Parameter Id="@param1" Name="Boolean Param" Type="Boolean" Value="true"/>
</ParameterBag>
<TimedState Id="@booleanState" Name="Boolean State" Type="Boolean">
<Value Time="1970-01-01T00:00:00.000+01:00" Value="false"/>
<Value Time="1970-01-01T00:01:00.000+01:00" Value="true"/>
<Value Time="1970-01-01T00:02:00.000+01:00" Value="false"/>
</TimedState>
<TimedState Id="@integerState" Name="Integer State" Type="Integer">
<Value Time="1970-01-01T00:00:00.000+01:00" Value="1"/>
<Value Time="1970-01-01T00:01:00.000+01:00" Value="2"/>
<Value Time="1970-01-01T00:02:00.000+01:00" Value="3"/>
<Value Time="1970-01-01T00:03:00.000+01:00" Value="2"/>
<Value Time="1970-01-01T00:04:00.000+01:00" Value="1"/>
<Value Time="1970-01-01T00:05:00.000+01:00" Value="0"/>
</TimedState>
<TimedState Id="@floatState" Name="Float State" Type="Float">
<Value Time="1970-01-01T00:00:00.000+01:00" Value="1.1"/>
<Value Time="1970-01-01T00:01:00.000+01:00" Value="2.2"/>
<Value Time="1970-01-01T00:02:00.000+01:00" Value="3.3"/>
<Value Time="1970-01-01T00:03:00.000+01:00" Value="2.2"/>
<Value Time="1970-01-01T00:04:00.000+01:00" Value="1.1"/>
<Value Time="1970-01-01T00:05:00.000+01:00" Value="0.0"/>
</TimedState>
<TimedState Id="@stringSetState" Name="StringSet State" Type="StringSet">
<Value Time="1970-01-01T00:00:00.000+01:00" Value="foo"/>
<Value Time="1970-01-01T00:01:00.000+01:00" Value="foo, bar"/>
<Value Time="1970-01-01T00:02:00.000+01:00" Value="bar"/>
</TimedState>
<Policies>
<Policy Type="PlanningPolicy" Value="key:SimplePlanning"/>
<Policy Type="ConfirmationPolicy" Value="key:NoConfirmation"/>
</Policies>
</Resource>
</StrolchModel>