Template System: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) |
John Leavitt (talk | contribs) |
||
Line 9: | Line 9: | ||
:{{Template:XFRACAS.Blue|<[[Template System.System|System]]>}} | :{{Template:XFRACAS.Blue|<[[Template System.System|System]]>}} | ||
::<font color=blue><!—</font>{{APIComment|The Part element is required and must contain either a new valid part or an existing valid part.}} | |||
::{{Template:XFRACAS.Blue|<[[Template System.Part|Part]]>}} | ::{{Template:XFRACAS.Blue|<[[Template System.Part|Part]]>}} | ||
:::<font color=Blue><PartName></font><font color=Black>Synthesis Platform</font><font color=Blue></PartName> | :::<font color=Blue><PartName></font><font color=Black>Synthesis Platform</font><font color=Blue></PartName> | ||
Line 14: | Line 15: | ||
:::<font color=Blue><PartVersion></font><font color=Black>9</font><font color=Blue></PartVersion> | :::<font color=Blue><PartVersion></font><font color=Black>9</font><font color=Blue></PartVersion> | ||
:::{{Template:XFRACAS.Blue|<RetiredDate/>}} | :::{{Template:XFRACAS.Blue|<RetiredDate/>}} | ||
:::<font color=blue><!—</font>{{APIComment|The use existing element is required and must contain either “Yes” (to use identical part in same entity) or “No” (to use a new part).}} | |||
:::<font color=Blue><UseExisting></font><font color=Black>Yes</font><font color=Blue></UseExisting> | :::<font color=Blue><UseExisting></font><font color=Black>Yes</font><font color=Blue></UseExisting> | ||
::{{Template:XFRACAS.Blue|</Part>}} | ::{{Template:XFRACAS.Blue|</Part>}} | ||
::<font color=blue><!—</font>{{APIComment|The HID element is optional. If present, it must match an existing HID. An HID must be an integer}} | |||
::<font color=Blue><HID></font><font color=Black>10</font><font color=Blue></HID></font> | ::<font color=Blue><HID></font><font color=Black>10</font><font color=Blue></HID></font> | ||
::{{Template:XFRACAS.Blue|<[[Template System.Entity|Entity]]>}} | ::{{Template:XFRACAS.Blue|<[[Template System.Entity|Entity]]>}} | ||
Line 21: | Line 24: | ||
:::<font color=Blue><EntityName></font><font color=Black>XFRACAS Software</font><font color=Blue></EntityName></font> | :::<font color=Blue><EntityName></font><font color=Black>XFRACAS Software</font><font color=Blue></EntityName></font> | ||
::{{Template:XFRACAS.Blue|</[[Template System.Entity|Entity]]>}} | ::{{Template:XFRACAS.Blue|</[[Template System.Entity|Entity]]>}} | ||
::<font color=blue><!—</font>{{APIComment|The Owner element is optional and, if present, the Login element value must match an existing valid user.}} | |||
::{{Template:XFRACAS.Blue|<CCUsers/>}} | ::{{Template:XFRACAS.Blue|<CCUsers/>}} | ||
::<font color=blue><!—</font>{{APIComment|<! SubParts must follow valid part logic.}} | |||
::{{Template:XFRACAS.Blue|<SubParts>}} | ::{{Template:XFRACAS.Blue|<SubParts>}} | ||
:::{{Template:XFRACAS.Blue|<SubPart>}} | :::{{Template:XFRACAS.Blue|<SubPart>}} | ||
Line 37: | Line 42: | ||
::::{{Template:XFRACAS.Blue|</[[Template System.Entity|Entity]]>}} | ::::{{Template:XFRACAS.Blue|</[[Template System.Entity|Entity]]>}} | ||
::::{{Template:XFRACAS.Blue|<CCUsers/>}} | ::::{{Template:XFRACAS.Blue|<CCUsers/>}} | ||
::::<font color=blue><!—</font>{{APIComment|<! SubParts must follow valid part logic.}} | |||
::::{{Template:XFRACAS.Blue|<SubParts>}} | ::::{{Template:XFRACAS.Blue|<SubParts>}} | ||
:::::{{Template:XFRACAS.Blue|<SubPart>}} | :::::{{Template:XFRACAS.Blue|<SubPart>}} |
Revision as of 22:02, 17 March 2015
XML Elements
Template System Sample
- <System>
- <!— The Part element is required and must contain either a new valid part or an existing valid part.
- <Part>
- <PartName>Synthesis Platform</PartName>
- <PartNumber>SYN</PartNumber>
- <PartVersion>9</PartVersion>
- <RetiredDate/>
- <!— The use existing element is required and must contain either “Yes” (to use identical part in same entity) or “No” (to use a new part).
- <UseExisting>Yes</UseExisting>
- </Part>
- <!— The HID element is optional. If present, it must match an existing HID. An HID must be an integer
- <HID>10</HID>
- <Entity>
- <EntityID>1</EntityID>
- <EntityName>XFRACAS Software</EntityName>
- </Entity>
- <!— The Owner element is optional and, if present, the Login element value must match an existing valid user.
- <CCUsers/>
- <!— <! SubParts must follow valid part logic.
- <SubParts>
- <SubPart>
- <Part>
- <PartName>Weibull++</PartName>
- <PartNumber>DFR</PartNumber>
- <PartVersion>9</PartVersion>
- <RetiredDate/>
- <UseExisting>Yes</UseExisting>
- </Part>
- <HID>11</HID>
- <Entity>
- <EntityID>1</EntityID>
- <EntityName>XFRACAS Software</EntityName>
- </Entity>
- <CCUsers/>
- <!— <! SubParts must follow valid part logic.
- <SubParts>
- <SubParts>
- <Part>
- <SubPart>
- <SubPart>
- <Part>
- </System>