complexType RelationRuleType
diagram plmxml_diagrams/plmxml_p1678.png
namespace http://www.plmxml.org/Schemas/PLMXMLBusinessSchema
type extension of bus:BusinessRuleBase
properties
base bus:BusinessRuleBase
children plm:Description plm:ApplicationRef plm:Attribute
used by
element RelationRule
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xsd:ID  optional      
name  xsd:string  optional      
nameRef  plm:anyURIType  optional      
descriptionTextRef  plm:anyURIType  optional      
attributeRefs  xsd:IDREFS  optional      
isExportable  xsd:boolean  optional  true    
isReplaceable  xsd:boolean  optional  true    
version  xsd:string  optional      
primaryObjectType  xsd:string  required      
secondaryObjectType  xsd:string  required      
relationType  xsd:string  required      
primaryCardinality  xsd:integer  required      
secondaryCardinality  xsd:integer  required      
bitwiseConstraints  xsd:integer  required      
secured  xsd:boolean  optional  false    
annotation
documentation

      This element contains a Business rule of GRM Rule Type. It defines the constraints
      for a relation.

      Attributes:
     
      primaryObjectType:      Primary object type for the relation
      secondaryObjectType:    Secondary object type for the relation
      relationType:           Relation type
      primaryCardinality:     Cardinality on primary object
      secondaryCardinality:   Cardinality on secondary object
      bitwiseConstraints:     Bitwise constraints, to represent attachability, detachability.
      secured:                Is this a system rule? Default is false.
     
source <xsd:complexType name="RelationRuleType">
 
<xsd:annotation>
   
<xsd:documentation xml:lang="en">
      This element contains a Business rule of GRM Rule Type. It defines the constraints
      for a relation.

      Attributes:
     
      primaryObjectType:      Primary object type for the relation
      secondaryObjectType:    Secondary object type for the relation
      relationType:           Relation type
      primaryCardinality:     Cardinality on primary object
      secondaryCardinality:   Cardinality on secondary object
      bitwiseConstraints:     Bitwise constraints, to represent attachability, detachability.
      secured:                Is this a system rule? Default is false.
     
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexContent>
   
<xsd:extension base="bus:BusinessRuleBase">
     
<xsd:attribute name="primaryObjectType" type="xsd:string" use="required"/>
     
<xsd:attribute name="secondaryObjectType" type="xsd:string" use="required"/>
     
<xsd:attribute name="relationType" type="xsd:string" use="required"/>
     
<xsd:attribute name="primaryCardinality" type="xsd:integer" use="required"/>
     
<xsd:attribute name="secondaryCardinality" type="xsd:integer" use="required"/>
     
<xsd:attribute name="bitwiseConstraints" type="xsd:integer" use="required"/>
     
<xsd:attribute name="secured" type="xsd:boolean" use="optional" default="false"/>
   
</xsd:extension>
 
</xsd:complexContent>
</xsd:complexType>

attribute RelationRuleType/@primaryObjectType
type xsd:string
properties
use required
source <xsd:attribute name="primaryObjectType" type="xsd:string" use="required"/>

attribute RelationRuleType/@secondaryObjectType
type xsd:string
properties
use required
source <xsd:attribute name="secondaryObjectType" type="xsd:string" use="required"/>

attribute RelationRuleType/@relationType
type xsd:string
properties
use required
source <xsd:attribute name="relationType" type="xsd:string" use="required"/>

attribute RelationRuleType/@primaryCardinality
type xsd:integer
properties
use required
source <xsd:attribute name="primaryCardinality" type="xsd:integer" use="required"/>

attribute RelationRuleType/@secondaryCardinality
type xsd:integer
properties
use required
source <xsd:attribute name="secondaryCardinality" type="xsd:integer" use="required"/>

attribute RelationRuleType/@bitwiseConstraints
type xsd:integer
properties
use required
source <xsd:attribute name="bitwiseConstraints" type="xsd:integer" use="required"/>

attribute RelationRuleType/@secured
type xsd:boolean
properties
use optional
default false
source <xsd:attribute name="secured" type="xsd:boolean" use="optional" default="false"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy