| Business Objects and Data Sources > States > Defining States in XML > Performance States |
Performance States |
INDEX
PREVIOUS
NEXT
|
The class IltObjectStateSAXInfo is the XML serialization class that allows you to read and write Performance states in the XML format.
The following table describes the XML elements that can be used.
<addObject id="NE1">
<class>ilog.tgo.model.IltNetworkElement</class>
<attribute name="position" javaClass="ilog.cpl.graphic.IlpPoint">
<x>68</x> <y>61</y>
</attribute>
<attribute name="objectState" javaClass="ilog.tgo.model.IltOSIObjectState">
<state>
<administrative>ShuttingDown</administrative>
<operational>Enabled</operational>
<usage>Active</usage>
</state>
<performance state="In_Kb" isArray="true" javaClass="java.lang.Integer">
<value>50</value>
<value>70</value>
<value>58</value>
<value>60</value>
<value>58</value>
<value>62</value>
<value>54</value>
<value>24</value>
<value>56</value>
<value>85</value>
<value>58</value>
<value>65</value>
<value>12</value>
<value>35</value>
</performance>
<performance state="Input">200</performance>
</attribute>
</addObject>
The following example shows how to set Performance states to an object that already exists in the data source. You can achieve this by using the XML tag <updateObject> to modify the attribute objectState:
<updateObject id="NE1">
<attribute name="objectState" javaClass="ilog.tgo.model.IltBellcoreObjectState">
<state>EnabledActive</state>
<performance state="Input">200</performance>
</attribute>
</updateObject>
<updateObject id="NE1">
<updateState>
<performance state="Input" operation="remove"/>
<performance state="Bandwidth">50</performance>
</updateState>
</updateObject>
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. All rights reserved. Legal terms. | PREVIOUS NEXT |