고급 사용자 정의 > Business Logic Customization > Business Rules > Loading Business Rule Objects > Process > Creating an IXB Load XML File
  
Creating an IXB Load XML File
Described below are the business rule objects that are using IXB load files.
The name and description attributes are supported for localization. The format of the value is <Resourcebundle pacakage name>.ResourceBundleFileName:ResourceKey. For example, the format for specifying Business Rule name is: com.ptc.windchill.enterprise.change2.change2ClientResource:CHECK_OUT_VALIDATOR_RULE_NAME
While retrieving the value for name and description, the resource bundle returns a localized value for passed in locale.
* 
If invalid resource key is specified the name or description field will show non-localized value of the field. In the above example if the resource bundle did not exist, name is displayed as com.ptc.windchill.enterprise.change2.change2ClientResource:CHECK_OUT_VALIDATOR_RULE_NAME
BusinessRule
A BusinessRule object holds the information about the Rule to be executed. Each Rule may have unique configuration requirements associated to it. A key and the container should be unique for creating BusinessRule objects.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRule SYSTEM "standardX20.dtd">
<BusinessRule>
<ObjectID><localId>wt.businessRules.BusinessRule:45346</localId></ObjectID>
<objectContainerPath>/</objectContainerPath>
<key>IXBBusinessRule1_key</key>
<name> com.ptc.windchill.enterprise.change2.change2ClientResource:
CHECK_OUT_VALIDATOR_RULE_NAME</name>
<description> com.ptc.windchill.enterprise.change2.change2ClientResource:
CHECK_OUT_VALIDATOR_RULE_DESC</description>
<enabled>true</enabled>
<configs>
<config name="key1" value="value1"></config>
<config name="key2" value="value1"></config>
<config name="key1" value="value2"></config>
</configs>
</BusinessRule>
BusinessRuleSet
A BusinessRuleSet instance is the persistence configuration of a set of Validation Rule. Typically holds the rules configured to be executed for the container. A key and the container should be unique for creating BusinessRuleSet objects.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRuleSet SYSTEM "standardX20.dtd">
<BusinessRuleSet>
<ObjectID><localId>wt.businessRules.BusinessRuleSet:45345</localId></ObjectID>
<objectContainerPath>/wt.inf.container.OrgContainer=
PTC/wt.pdmlink.PDMLinkProduct=GOLF_CART</objectContainerPath>
<key> IXBBusinessRuleSet1_key </key>
<name> com.ptc.windchill.enterprise.change2.change2ClientResource:
CHANGE_PRE_RELEASE_RULESET_NAME </name>
<description> com.ptc.windchill.enterprise.change2.change2ClientResource:
CHANGE_PRE_RELEASE_RULESET_DESC</description>
<enabled>true</enabled>
<overridable>true</overridable>
</BusinessRuleSet>
BusinessRuleLink
A ObjectToObject binary link holding the references to BusinessRuleSet and Rules.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BusinessRuleLink SYSTEM "standardX20.dtd">
<BusinessRuleLink>
<ObjectID><localId>wt.businessRules.BusinessRuleLink:356747
</localId></ObjectID>
<ruleSet><ObjectReference><localId>wt.businessRules.BusinessRuleSet:45345
</localId></ObjectReference></ruleSet>
<rule><ObjectReference><localId>wt.businessRules.BusinessRule:45346
</localId>
</ObjectReference></rule>
<blockNumber>10</blockNumber>
</BusinessRuleLink>