CAA Web Services Home |
|
Configuration ExpressionOverview of Configuration Expression used in ENOVIA LCA V5 CAA Web services |
Technical Article |
AbstractThis article introduces the Configuration Expression and its usage in ENOVIA LCA V5 CAA Web service.
|
Configuration Expression, denoted by CONFIGURATION tag, is an XML expression to specify effectivities used by createConfigHandler and createModification Web services[1]. Configuration Expression is composed of a Configuration Handler Expression, and a Modification Expression. Effectivities used to create config handlers is specified by Configuration Handler Expression, and effectivities used to create modifications is specified by Modification Expression.
[Top]
Configuration Handler Expression, denoted by ENOVIA_CONFIGHANDLER tag, describes the structure and values to be passed in createCofigHandler[1] Web service for creation of Configuration Handlers. Details of this structure are explained below:
[Top]
Detailed elements of a Configuration Handler Expression:
<CONFIGURATION COMMAND= " " > | Required tag. COMMAND value is ignored. |
<ENOVIA_CONFIGHANDLER NAME =""> |
Required tag. A unique name of the Configuration Handler has to be
given. |
<HANDLER_DOMAIN DOMAIN = "" > |
Domains value is required and can be customized. The valid string values with the base install of ENOVIA LCA:
|
<HANDLER_EFFECTIVITY> | Required tag |
<EFF_TYPE> | Required tag. Only one instance is allowed. When multiple elements of EFF_TYPE are specified, logical OR is applied between the EFF_TYPE elements. |
<RANGE_RANGE START=" " END=" "/> |
START is Integer (positive). END is Integer (positive, use -1 for ∞). START value must be less than the END value. |
<RANGE_MILESTONE START=" " END=" "/> |
START is Integer (positive). END is Milestone uuid string. START value must be less than the integer value contained in the END Milestone object. |
<MILESTONE_RANGE START=" " END=" "/> |
START is Milestone uuid String. END is Integer (positive, use -1 for ∞). START value contained in the Milestone must be less than the END value. |
<DATE_DATE START=" " END=" "/> |
START is date. Format mm/dd/yyyy. END is date. Format mm/dd/yyyy. START date must be less than the END date. |
<DATE_MILESTONE START=" " END=" "/> |
START is date. Format mm/dd/yyyy. END is Milestone uuid string. START date must be less than the date value contained in END Milestone. |
<MILESTONE_DATE START=" " END=" "/> |
START is Milestone uuid string. END is date. Format mm/dd/yyyy. START date in Milestone must be less than the END date |
<MILESTONE_MILESTONE START=" " END=" "/> |
START is Milestone uuid string. END is Milestone uuid string. START date in Milestone must be less than the END date in Milestone |
<SPECIFICATION VALUE=" "/> | Valid uuid string of a Enovia Specification object. |
</EFF_TYPE> | Closing Tag. |
</HANDLER_EFFECTIVITY> | Closing Tag. |
</HANDLER_DOMAIN> | Closing Tag. |
</ENOVIA_CONFIGHANDLER> | Closing Tag. |
</CONFIGURATION> | Closing Tag. |
Note: For integer value ∞ use -1
Modification Expression, denoted by ENOVIA_MODIFICATION tag, describes the structure and values to be passed in createModification[1] Web service for creation of Modifications in ENOVIA LCA. Details of this structure is explained below.
[Top]
Detailed the elements of a Modification Expression:
<CONFIGURATION COMMAND= " " > | Required tag. COMMAND value is ignored. |
<ENOVIA_MODIFICATION NAME =""> |
Required tag. Value is optional. ENOVIA LCA will generate one if NAME
value is empty. |
<MOD_DOMAIN > | Required tag |
<EFF_DOMAIN NAME=""> |
Domain is required and can be customized. The valid string value with the base install of ENOVIA LCA:
|
<MOD_EFFECTIVITY> | Required tag |
<EFF_TYPE> | Required tag. Only one instance is allowed. When multiple elements of EFF_TYPE are specified, logical OR is applied between the EFF_TYPE elements. |
<RANGE_RANGE START=" " END=" "/> |
START is Integer (positive). END is Integer (positive, use -1 for ∞). START value must be less than the END value. |
<RANGE_MILESTONE START=" " END=" "/> |
START is Integer (positive). END is Milestone uuid string. START value must be less than the integer value contained in the END Milestone object. |
<MILESTONE_RANGE START=" " END=" "/> |
START is Milestone uuid String. END is Integer (positive, use -1 for ∞). START value contained in the Milestone must be less than the END value. |
<DATE_DATE START=" " END=" "/> |
START is date. Format mm/dd/yyyy. END is date. Format mm/dd/yyyy. START date must be less than the END date. |
<DATE_MILESTONE START=" " END=" "/> |
START is date. Format mm/dd/yyyy. END is Milestone uuid string. START date must be less than the date value contained in END Milestone. |
<MILESTONE_DATE START=" " END=" "/> |
START is Milestone uuid string. END is date. Format mm/dd/yyyy. START date in Milestone must be less than the END date |
<MILESTONE_MILESTONE START=" " END=" "/> |
START is Milestone uuid string. END is Milestone uuid string. START date in Milestone must be less than the END date in Milestone |
<SPECIFICATION VALUE=" "/> | Valid uuid string of a Enovia Specification object. |
</EFF_TYPE> | Closing Tag. |
<EFF_AND_TYPE> | Optional tag. Used for creating AND operation with Specification. Multiple allowed. |
<RANGE_RANGE START="" END=""/> <RANGE_MILESTONE START=" " END=" "/> <MILESTONE_RANGE START=" " END=" "/> <DATE_DATE START=" " END=" "/> <DATE_MILESTONE START=" " END=" "/> <MILESTONE_DATE START=" " END=" "/> <MILESTONE_MILESTONE START=" " END=" "/> <SPECIFICATION VALUE=" "/> |
One and only one element, from those listed here, is permitted. |
<EFF_AND> | Required tag indicating an AND operation |
<SPECIFICATION VALUE=" "/> | Valid uuid string of a Enovia Specification object. Multiple allowed. |
</EFF_AND> | Closing Tag. |
</EFF_AND_TYPE> | Closing Tag. |
</MOD_EFFECTIVITY> | Closing Tag. |
</EFF_DOMAIN> | Closing Tag. |
</MOD_DOMAIN> | Closing Tag. |
</ENOVIA_MODIFICATION> | Closing Tag. |
</CONFIGURATION> | Closing Tag. |
Note: For integer value ∞ use -1
[Top]
Create Configuration Handler - Simple Case.
This Configuration expression will create a Enovia Configuration Handler named "simpleConfigHandler" with 'Engineering Effectivity' whose RANGE_RANGE values are 1-100 OR 1 - ∞ (infinity).
|
[Top]
Create Configuration Handler - Complex Case.
This Configuration expression will create a Enovia Configuration Handler named "complexConfigHandler" with 'Engineering Effectivity' whose RANGE_RANGE values are 1-100 OR 1 - ∞ (infinity). It also contains DATE_DATE, MILESTONE_MILESTONE, OR SPECIFICATION effectivity types.
|
[Top]
Create Modification - Simple Case.
This Modification Expression creates a Enovia Modification named "simpleModification" with 'Engineering Effectivity' whose RANGE_RANGE values are 1-100 OR 1 - ∞ (infinity).
|
[Top]
Create Modification - with AND Specification.
This Modification Expression creates a Enovia Modification named "MyModification" with 'Engineering Effectivity' by DATE_DATE OR MILESTONE_MILESTONE. The AND Specification is contained in EFF_AND_TYPE tag. Within which a SPECIFICATION AND RANGE_RANGE effectivities are defined.
<?xml
version="1.0"
encoding="UTF-8"?> <RANGE_RANGE START="1" END="100"/>
</EFF_AND>
</MOD_EFFECTIVITY>
|
[Top]
Configuration Expression is used as an input for createConfigHanlder and createModification web service methods[1] to create Enovia Configuration Handlers and Modifications.
[Top]
[1] | Consuming ENOVWSProdStructConfigCpp CAA Web Service |
[Top] |
Version: 1 [Feb 2006] | Document created |
[Top] |
Copyright © 2006, Dassault Systèmes. All rights reserved.