Valid Part: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) m (Protected "Valid Part" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
John Leavitt (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:XFRACAS.XML.Import.Doc.Class|Common Elements|Common Elements}} | {{Template:XFRACAS.XML.Import.Doc.Class|Common Elements|Common Elements}} | ||
:{{Template:XFRACAS.Blue|<!—}}{{APIComment|The PartName or PartNumber element must be present and contain a value. }} | |||
If the combination of PartName, PartNumber and PartVersion match an existing part, then | :{{Template:XFRACAS.Blue|<!—}}{{APIComment|If the combination of PartName, PartNumber and PartVersion match an existing part, then the existing part will be updated.}} | ||
:{{Template:XFRACAS.Blue|<Part>}} | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|PartID must be an integer. If left without a value, a new PartID will be assigned.}} | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|If PartID value matches an existing PartID, the part will be updated.}} | |||
::<font color=Blue><PartID></font><font color=black>123</font><font color=Blue></PartID></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|PartName must be a String. 255 characters maximum }} | |||
::'''<font color=Blue><PartName></font><font color=black>Synthesis Platform</font><font color=Blue></PartName></font>''' | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|PartNumber must be a String. 75 characters maximum}} | |||
::'''<font color=Blue><PartNumber></font><font color=black>SYN</font><font color=Blue></PartNumber></font>''' | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|Sets whether a part is retired. “Yes” means it’s retired. “No” means it’s not retired. Default setting is “No.”}} | |||
::<font color=Blue><Retired></font><font color=black>No</font><font color=Blue></Retired></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|PartVersion must be a String. 50 characters maximum }} | |||
::<font color=Blue><PartVersion></font><font color=black>9</font><font color=Blue></PartVersion></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|CreatedDate must be a [[Valid Date]]. Valid Date can be exemplified under Common Elements.}} | |||
::<font color=Blue><CreatedDate/></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|UseExisting is required for a (Template) System. It must be “Yes” or “No.”}} | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|If “Yes” an identical part that exists in the same entity will be used. If “No” a new part will always be inserted.}} | |||
::<font color=Blue><UseExisting/></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|Subpart is required to update a System. A Valid Part is required within a Subpart. See (Template) System.}} | |||
::<font color=Blue><Subpart/></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|Entity must be a valid entity. [[Valid Entity]] can be exemplified under Common Elements.}} | |||
::<font color=Blue><Entity/></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|HID must be an integer. If present it must match an existing HID.}} | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|When modifying System Part data, HID must not be used within Subparts in order for the System to update.}} | |||
::<font color=Blue><HID></font><font color=black>2</font><font color=Blue></HID></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|SerialHID must be an integer. It is required for serialized incidents.}} | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|For serialized incidents, the SerialHID and/or SerialNumber must match an existing top level serial system.}} | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|When modifying System data, SerialHID must not be used within Subparts in order for the System to update.}} | |||
::<font color=Blue><SerialHID></font><font color=black>29</font><font color=Blue></SerialHID></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|SerialNumber must be a string. It is required for serialized incidents. }} | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|For serialized incidents, the SerialHID and/or SerialNumber must match an existing top level serial system.}} | |||
::<font color=Blue><SerialNumber></font><font color=black>989</font><font color=Blue></SerialNumber></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|TimeMetric1 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.}} | |||
::<font color=Blue><TimeMetric1></font><font color=black>10</font><font color=Blue></TimeMetric1></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|TimeMetric2 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.}} | |||
::<font color=Blue><TimeMetric2></font><font color=black>12</font><font color=Blue></TimeMetric2></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|TimeMetric3 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.}} | |||
::<font color=Blue><TimeMetric3></font><font color=black>2.2</font><font color=Blue></TimeMetric3></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|Details are documented within Details.}} | |||
::<font color=Blue><Details/></font> | |||
:{{Template:XFRACAS.Blue|</Part>}} |
Revision as of 22:58, 12 February 2015
- <!— The PartName or PartNumber element must be present and contain a value.
- <!— If the combination of PartName, PartNumber and PartVersion match an existing part, then the existing part will be updated.
- <Part>
- <!— PartID must be an integer. If left without a value, a new PartID will be assigned.
- <!— If PartID value matches an existing PartID, the part will be updated.
- <PartID>123</PartID>
- <!— PartName must be a String. 255 characters maximum
- <PartName>Synthesis Platform</PartName>
- <!— PartNumber must be a String. 75 characters maximum
- <PartNumber>SYN</PartNumber>
- <!— Sets whether a part is retired. “Yes” means it’s retired. “No” means it’s not retired. Default setting is “No.”
- <Retired>No</Retired>
- <!— PartVersion must be a String. 50 characters maximum
- <PartVersion>9</PartVersion>
- <!— CreatedDate must be a Valid Date. Valid Date can be exemplified under Common Elements.
- <CreatedDate/>
- <!— UseExisting is required for a (Template) System. It must be “Yes” or “No.”
- <!— If “Yes” an identical part that exists in the same entity will be used. If “No” a new part will always be inserted.
- <UseExisting/>
- <!— Subpart is required to update a System. A Valid Part is required within a Subpart. See (Template) System.
- <Subpart/>
- <!— Entity must be a valid entity. Valid Entity can be exemplified under Common Elements.
- <Entity/>
- <!— HID must be an integer. If present it must match an existing HID.
- <!— When modifying System Part data, HID must not be used within Subparts in order for the System to update.
- <HID>2</HID>
- <!— SerialHID must be an integer. It is required for serialized incidents.
- <!— For serialized incidents, the SerialHID and/or SerialNumber must match an existing top level serial system.
- <!— When modifying System data, SerialHID must not be used within Subparts in order for the System to update.
- <SerialHID>29</SerialHID>
- <!— SerialNumber must be a string. It is required for serialized incidents.
- <!— For serialized incidents, the SerialHID and/or SerialNumber must match an existing top level serial system.
- <SerialNumber>989</SerialNumber>
- <!— TimeMetric1 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.
- <TimeMetric1>10</TimeMetric1>
- <!— TimeMetric2 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.
- <TimeMetric2>12</TimeMetric2>
- <!— TimeMetric3 is a reliability time metric and does not inherently contain units. It is a floating (decimal) number.
- <TimeMetric3>2.2</TimeMetric3>
- <!— Details are documented within Details.
- <Details/>
- </Part>