Link Node
Link is the root node of the configuration file.
- Attribute:
"name" (mandatory): the accepted values are (see table
for details): ProductImplementLink,
PartialProductImplementLinkProductImplementLinkOcc,
, , , , DELMBOMContextualImplementCnx,
DataMaterialization, DELMfgResponsibilityCnx,
DELFmiMfgSubstituteCnx, ReparentInstance.
- Children:
Event (mandatory).
Example:
<Link name="PartialProductImplementLink" >
<Event name="Create >
....
</Event>
</Link>
| Link Name |
Refers to |
ProductImplementLink |
Scope Link |
PartialProductImplementLink |
Partial Scope Link |
ProductImplementLinkOcc |
Implement Link |
DELMBOMContextualImplementCnx |
Occ-Occ Implement Link |
DataMaterialization |
Resulting Product Link |
DELMfgResponsibilityCnx |
Manufacturing Responsibility Link |
DELFmiMfgSubstituteCnx |
Manufacturing Substitute Link |
ReparentInstance |
Move/Re-Parent |
Event Node
Event determines on which type of link creation the configuration file is
applicable.
It consists of a single or multiple conditions, and at most one action.
Example for an Action without Condition:
<Event name="Create" >
<Action>
...
</Action>
</Event>
Example for an Action with a Condition:
<Event name="Create" >
<Condition>
...
<Action>
...
</Action>
</Condition>
</Event>
Example showing both with and without Condition:
<Event name="Create" >
<Condition>
...
<Action>
...
</Action>
</Condition>
<Action>
...
</Action>
</Event>
Condition Node
Condition is used to define the
validations, which determine whether an action is performed or not.
It consists of a single or multiple validations. If any validation is matched, the given
action is performed.
Children:
Validation (at least one is mandatory)
Action (mandatory).
Example:
<Condition>
<Validation>
...
</Validation>
<Validation>
...
</Validation>
<Action>
...
</Action>
</Condition>
Validation Node
Validation is used to define user requirements. It consists of a single or
multiple children. The validation is considered successful only if all the criteria defined
for children is satisfied.
Children (at least one is mandatory):
targetAttribute
sourceAttribute
Example:
<Validation>
<targetAttribute name="V_Name" dicoType="PLMEntity" entity="reference" value="TargetAttValue"/>
<sourceAttribute name="V_Name" dicoType="PLMEntity" entity="reference" value="SourceAttValue"/>
</Validation>
Action Node
Action is used to group multiple actions (copy and set).
Children (at least one is mandatory):
CopyAttribute
SetAttribute.
Example:
<Action>
<CopyAttribute>
<targetAttribute name="V_Name" dicoType=” PLMEntity” entity=”reference"/>
<sourceAttribute name="V_Name" dicoType=” PLMEntity” entity=”reference"/>
</CopyAttribute>
<SetAttribute>
<targetAttribute name="V_Name" dicoType=" PLMEntity" entity="reference"/>
<sourceAttribute value="TestTitle"/>
</SetAttribute>
</Action>
CopyAttribute Node
CopyAttribute is used to define which attribute value from the source must
be copied to which target attribute.
- Attribute:
mode to determine how to copy the value:
Direct. In Direct mode,
targetObject is fromObject, and
sourceObject is toObject.
Inverse. In Inverse mode,
targetObject is toObject, and
sourceObject is fromObject.
By default, mode is always set
to Direct. If you want it to set it as Inverse, then
assign the mode in the copy/set attribute.
-
Children:
targetAttribute (mandatory)
sourceAttribute (mandatory).
Example:
<CopyAttribute mode="Inverse">
<targetAttribute name="V_Name" dicoType=” PLMEntity” entity=”reference"/>
<sourceAttribute name="V_Name" dicoType=” PLMEntity” entity=”reference"/>
</CopyAttribute>
SetAttribute Node
SetAttribute is used to define the value of a target attribute.
- Attribute:
mode to define a value on an object:
Direct. In Direct mode, the value is defined
on fromObject.
Inverse. In Inverse mode, the value is defined
on toObject.
By default, mode is always set
to Direct. If you want it to set it as Inverse, then
assign the mode in the copy/set attribute.
-
Children:
targetAttribute (mandatory)
sourceAttribute (mandatory).
Example:
<SetAttribute mode="Inverse" >
<targetAttribute name="V_Name" dicoType="PLMEntity" entity="reference"/>
<sourceAttribute value="TestTitle"/>
</SetAttribute>
TargetAttribute Node
TargetAttribute has multiple contexts.
In a validation context, it represents the target attribute and its expected value.
Attributes:
name (mandatory): the attribute name whose value is to be
compared.
dicoType (mandatory): the type of the entity holding this
attribute.
Entity (mandatory): the entity. Accepted value are
reference or instance.
value (mandatory): the expected value of the attribute. It can be a
literal string or a regular expression
In a copy/set attribute context: it represents the target attribute being updated.
Attributes:
name (mandatory): the attribute name whose value is to be updated.
dicoType (mandatory): the type of the entity holding this
attribute.
Entity (mandatory): the entity. Accepted value are
reference or instance.
prefix: the prefix to the copied value
SourceAttribute Node
SourceAttribute has multiple contexts.
In a validation context, it represents the source attribute and its expected value.
Attributes:
name (mandatory): the attribute name whose value is to be
compared.
dicoType (mandatory): the type of the entity holding this
attribute.
Entity (mandatory): the entity. Accepted value are
reference or instance.
value (mandatory): the expected value of the attribute. It can be a
literal string or a regular expression
In a copy attribute context: it represents the source attribute being copied.
Attributes:
name (mandatory): the attribute name whose value is to be updated.
dicoType (mandatory): the type of the entity holding this
attribute.
Entity (mandatory): the entity. Accepted value are
reference or instance.
In a set attribute context: it represents the value being defined on the target or target
linked object.
Attribute:
value (mandatory): value being defined.