Schema b2x.xsd


schema location:  <InstallDir>/doc/schemas/b2x.xsd
targetNamespace:  http://schemas.ilog.com/JRules/1.0/Translation
 
Elements  Complex types 
translation  attribute 
body 
class 
constructor 
method 
parameter 


element translation
diagram
namespace http://schemas.ilog.com/JRules/1.0/Translation
children id class
source
<xsd:element name="translation">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">Root element.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="id" type="xsd:string" minOccurs="0"/>
      <xsd:element name="class" type="class" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element translation/id
diagram
type xsd:string
source
<xsd:element name="id" type="xsd:string" minOccurs="0"/>

element translation/class
diagram
type class
children businessName executionName extenderName import tester constructor attribute method
source
<xsd:element name="class" type="class" minOccurs="0" maxOccurs="unbounded"/>

complexType attribute
diagram
namespace http://schemas.ilog.com/JRules/1.0/Translation
children name setter getter
used by
element class/attribute
source
<xsd:complexType name="attribute">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
     Attribute mapping.
     The name identifies the mapped attribute from the business class.
     The setter defines the behavior when the attribute is set, while the getter defines the behavior when the
     attribute is accessed. The setter is not needed if the attribute is read-only. The getter is not needed
     if the attribute is write-only.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:choice minOccurs="0" maxOccurs="2">
      <xsd:element name="setter" type="body" minOccurs="0"/>
      <xsd:element name="getter" type="body" minOccurs="0"/>
    </xsd:choice>
  </xsd:sequence>
</xsd:complexType>

element attribute/name
diagram
type xsd:string
source
<xsd:element name="name" type="xsd:string"/>

element attribute/setter
diagram
type body
attributes
Name  Type  Use  Default  Fixed  
language  xsd:string        
source
<xsd:element name="setter" type="body" minOccurs="0"/>

element attribute/getter
diagram
type body
attributes
Name  Type  Use  Default  Fixed  
language  xsd:string        
source
<xsd:element name="getter" type="body" minOccurs="0"/>

complexType body
diagram
namespace http://schemas.ilog.com/JRules/1.0/Translation
type extension of xsd:string
used by
elements constructor/body method/body attribute/getter attribute/setter class/tester
attributes
Name  Type  Use  Default  Fixed  
language  xsd:string        
source
<xsd:complexType name="body">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">Body of a member mapping.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="xsd:string">
      <xsd:attribute name="language" type="xsd:string"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType class
diagram
namespace http://schemas.ilog.com/JRules/1.0/Translation
children businessName executionName extenderName import tester constructor attribute method
used by
element translation/class
source
<xsd:complexType name="class">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
Class mapping.
This class mapping contains the business class name.
It may also contain an execution class name. If there is none, the business class name will be used as the execution class name.
The class mapping may also contain the name of an extender class. Then, it may contain mappings for specific members. </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="businessName" type="xsd:string"/>
    <xsd:element name="executionName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="extenderName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="import" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="tester" type="body" minOccurs="0"/>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element name="constructor" type="constructor"/>
      <xsd:element name="attribute" type="attribute"/>
      <xsd:element name="method" type="method"/>
    </xsd:choice>
  </xsd:sequence>
</xsd:complexType>

element class/businessName
diagram
type xsd:string
source
<xsd:element name="businessName" type="xsd:string"/>

element class/executionName
diagram
type xsd:string
source
<xsd:element name="executionName" type="xsd:string" minOccurs="0"/>

element class/extenderName
diagram
type xsd:string
source
<xsd:element name="extenderName" type="xsd:string" minOccurs="0"/>

element class/import
diagram
type xsd:string
source
<xsd:element name="import" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>

element class/tester
diagram
type body
attributes
Name  Type  Use  Default  Fixed  
language  xsd:string        
source
<xsd:element name="tester" type="body" minOccurs="0"/>

element class/constructor
diagram
type constructor
children parameter body
source
<xsd:element name="constructor" type="constructor"/>

element class/attribute
diagram
type attribute
children name setter getter
source
<xsd:element name="attribute" type="attribute"/>

element class/method
diagram
type method
children name parameter body
source
<xsd:element name="method" type="method"/>

complexType constructor
diagram
namespace http://schemas.ilog.com/JRules/1.0/Translation
children parameter body
used by
element class/constructor
source
<xsd:complexType name="constructor">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
     Constructor mapping.
     The parameter types identify the mapped constructor from the business class.
     The body defines its behavior.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="parameter" type="parameter" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="body" type="body"/>
  </xsd:sequence>
</xsd:complexType>

element constructor/parameter
diagram
type parameter
attributes
Name  Type  Use  Default  Fixed  
type  xsd:string  required      
source
<xsd:element name="parameter" type="parameter" minOccurs="0" maxOccurs="unbounded"/>

element constructor/body
diagram
type body
attributes
Name  Type  Use  Default  Fixed  
language  xsd:string        
source
<xsd:element name="body" type="body"/>

complexType method
diagram
namespace http://schemas.ilog.com/JRules/1.0/Translation
children name parameter body
used by
element class/method
source
<xsd:complexType name="method">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
     Method mapping.
     The name and the parameter types identify the mapped method from the business class.
     The body defines its behavior.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="parameter" type="parameter" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="body" type="body"/>
  </xsd:sequence>
</xsd:complexType>

element method/name
diagram
type xsd:string
source
<xsd:element name="name" type="xsd:string"/>

element method/parameter
diagram
type parameter
attributes
Name  Type  Use  Default  Fixed  
type  xsd:string  required      
source
<xsd:element name="parameter" type="parameter" minOccurs="0" maxOccurs="unbounded"/>

element method/body
diagram
type body
attributes
Name  Type  Use  Default  Fixed  
language  xsd:string        
source
<xsd:element name="body" type="body"/>

complexType parameter
diagram
namespace http://schemas.ilog.com/JRules/1.0/Translation
used by
elements constructor/parameter method/parameter
attributes
Name  Type  Use  Default  Fixed  
type  xsd:string  required      
source
<xsd:complexType name="parameter">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
     Parameter description.
     A parameter is described by its type.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="type" type="xsd:string" use="required"/>
</xsd:complexType>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy