Release Notes > JTGO 4.5 Release Notes > New Features > Data Source

Changing Object States using XML

<cplData xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "ilog/cpl/schema/data.xsd">
 
<updateObject id="NE1">
  <updateState>
    <misc operation="remove">DoorAjar</misc>
    <performance state="Input" operation="remove" />
    <alarms>
      <new severity="Raw.Warning" operation="add">1</new>
      <ack severity="Raw.Major" operation="remove">2</ack>
    </alarms>
    <availability operation="remove">Degraded</availability>
    <procedural operation="remove">Initializing</procedural>
  </updateState>
</updateObject>
 
</cplData>
For more information, see Data Sources, Adding Business Objects from XML, Adding Predefined Business Objects in the Business Objects and Data Sources section of the User's Documentation.
<cplData xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "ilog/cpl/schema/data.xsd">
 
<updateObject id="NE1">
  <updateState>
    <alarms>
      <new severity="Raw.Warning" operation="add">1</new>
      <ack severity="Raw.Major" operation="remove">2</ack>
    </alarms>
  </updateState>
</updateObject>
 
</cplData>
<cplData xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "ilog/cpl/schema/data.xsd">
 
<updateObject id="NE1">
  <updateState>
    <misc operation="remove">DoorAjar</misc>
    <availability operation="remove">Degraded</availability>
    <procedural operation="remove">Initializing</procedural>
  </updateState>
</updateObject>
 
</cplData>
<cplData xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation = "ilog/cpl/schema/data.xsd">
 
<updateObject id="L1">
  <updateState>
    <state>Active</state>
    <protection from="true" to="false">Exercisor</protection>
    <protection from="false" to="true">WaitToRestore</protection>
  </updateState>
</updateObject>
 
</cplData>