导航

Add relationship to BS sample

Posted on 2007-04-26 10:03  hcfalan  阅读(301)  评论(0编辑  收藏  举报
<!-- ********************************************************* -->
<!-- Add Relationship To BS Sample                             -->
<!-- ********************************************************* -->

<!--
define instantiable droponleft relation bkImpEcn between classes 
     bkOrdrIt ( bbkWorkOrderImplementsECN ) and CmChNtMr ( bbkECNImplementedBy ) with parent PPlnImp;

display bbkECNImplementedBy as "更改通知单实施者" ; 

modify "business_info_sys_prefs.xml"
-->

<edit parent="/BusinessInfo/BusinessElements/Relationships">
    
<add>
        
<node name="bbkWorkOrderImplementsECN">
            
<map>
                
<entry key="modelName" value="bbkWorkOrderImplementsECN"/>
                
<entry key="label" value=""/>
                
<entry key="pre" value=""/>
                
<entry key="preClassConstant" value=""/>
                
<entry key="post" value=""/>
                
<entry key="postClassConstant" value=""/>
                
<entry key="rightOptOutClasses" value=""/>
                
<entry key="leftOptOutClasses" value=""/>
                
<entry key="summaryMaxDisplay" value="5"/>
                
<entry key="lookahead" value="true"/>
            
</map>
        
</node>

        
<!--Is Depended On By relationship added to business elements -->
        
<node name="bbkECNImplementedBy">
            
<map>
                
<entry key="modelName" value="bbkECNImplementedBy"/>
                
<entry key="label" value=""/>
                
<entry key="pre" value=""/>
                
<entry key="preClassConstant" value=""/>
                
<entry key="post" value=""/>
                
<entry key="postClassConstant" value=""/>
                
<entry key="rightOptOutClasses" value=""/>
                
<entry key="leftOptOutClasses" value=""/>
                
<entry key="summaryMaxDisplay" value="5"/>
                
<entry key="lookahead" value="true"/>
            
</map>
        
</node>
    
</add>
</edit>




<edit parent="/BusinessInfo/ContentSpecs/ExpandRelationships">
    
<add>
        
<node name="bbkWorkOrderImplementsECN"/>
        
<node name="bbkECNImplementedBy"/>
    
</add>
</edit>




<edit parent="/BusinessInfo/ContentSpecs/FindAndAddRelationships">
    
<add>
        
<node name="bbkWorkOrderImplementsECN"/>
        
<node name="bbkECNImplementedBy"/>
    
</add>
</edit>




<edit parent="/BusinessInfo/ContentSpecs/CreateAndAddRelationships">
    
<add>
        
<node name="bbkWorkOrderImplementsECN"/>
        
<node name="bbkECNImplementedBy"/>
    
</add>
</edit>