Schema extensionmodel.xsd


schema location:  <InstallDir>/doc/schemas/extensionmodel.xsd
targetNamespace:  http://ilog.rules.brms.extension/model
 
Elements  Complex types 
extension-model  AddProperty 
Annotation 
Class 
Enum 
ExtensionModel 
Hierarchy 
Property 
Struct 
TypeVisibility 


element extension-model
diagram
namespace http://ilog.rules.brms.extension/model
type this:ExtensionModel
children add-property type-visibility class enum struct hierarchy avoidValidate
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
nsURI  xsd:string  required      
source
<xsd:element name="extension-model" type="this:ExtensionModel"/>

complexType AddProperty
diagram
namespace http://ilog.rules.brms.extension/model
children annotation property
used by
element ExtensionModel/add-property
attributes
Name  Type  Use  Default  Fixed  
className  xsd:string        
source
<xsd:complexType name="AddProperty">
  <xsd:annotation>
    <xsd:documentation>
		Defines a group of properties to be attached to a given class.
	  </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>
    <xsd:element name="property" type="this:Property" minOccurs="0" maxOccurs="unbounded" ecore:name="properties"/>
  </xsd:sequence>
  <xsd:attribute name="className" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>
			The name of the class to which the properties are attached.
	  	</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>

element AddProperty/annotation
diagram
type this:Annotation
attributes
Name  Type  Use  Default  Fixed  
id  xsd:string  required      
value  xsd:string        
source
<xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>

element AddProperty/property
diagram
type this:Property
children annotation
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
type  xsd:string  required      
required  xsd:boolean        
ordered  xsd:boolean        
unique  xsd:boolean        
many  xsd:boolean        
changeable  xsd:boolean        
nillable  xsd:boolean        
restricted  xsd:boolean        
advanced  xsd:boolean        
hidden  xsd:boolean        
extractable  xsd:boolean        
editorname  xsd:string        
size  xsd:int        
source
<xsd:element name="property" type="this:Property" minOccurs="0" maxOccurs="unbounded" ecore:name="properties"/>

complexType Annotation
diagram
namespace http://ilog.rules.brms.extension/model
used by
elements Class/annotation AddProperty/annotation Enum/annotation Struct/annotation Hierarchy/annotation Property/annotation
attributes
Name  Type  Use  Default  Fixed  
id  xsd:string  required      
value  xsd:string        
source
<xsd:complexType name="Annotation">
  <xsd:annotation>
    <xsd:documentation>
		Annotations are used to provide additional custom information on an extension element.
	  </xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="id" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>
			The identifier for the annotation.
	  	</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="value" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>
			The value of the annotation.
	  	</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>

complexType Class
diagram
namespace http://ilog.rules.brms.extension/model
children property annotation
used by
element ExtensionModel/class
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
extends  xsd:string        
source
<xsd:complexType name="Class">
  <xsd:annotation>
    <xsd:documentation>
		 Specifies a class that can hold properties and that extends a base rule model class.
	  </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="property" type="this:Property" minOccurs="0" maxOccurs="unbounded" ecore:name="properties"/>
    <xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>
			The name of the class.
	  	</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="extends" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>
			The name of the base class that is extended.
	  	</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>

element Class/property
diagram
type this:Property
children annotation
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
type  xsd:string  required      
required  xsd:boolean        
ordered  xsd:boolean        
unique  xsd:boolean        
many  xsd:boolean        
changeable  xsd:boolean        
nillable  xsd:boolean        
restricted  xsd:boolean        
advanced  xsd:boolean        
hidden  xsd:boolean        
extractable  xsd:boolean        
editorname  xsd:string        
size  xsd:int        
source
<xsd:element name="property" type="this:Property" minOccurs="0" maxOccurs="unbounded" ecore:name="properties"/>

element Class/annotation
diagram
type this:Annotation
attributes
Name  Type  Use  Default  Fixed  
id  xsd:string  required      
value  xsd:string        
source
<xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>

complexType Enum
diagram
namespace http://ilog.rules.brms.extension/model
children annotation
used by
element ExtensionModel/enum
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
source
<xsd:complexType name="Enum">
  <xsd:annotation>
    <xsd:documentation>
		Specifies an enumeration classifier.
	  </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>
			The name of the enumeration.
	  	</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>

element Enum/annotation
diagram
type this:Annotation
attributes
Name  Type  Use  Default  Fixed  
id  xsd:string  required      
value  xsd:string        
source
<xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>

complexType ExtensionModel
diagram
namespace http://ilog.rules.brms.extension/model
children add-property type-visibility class enum struct hierarchy avoidValidate
used by
element extension-model
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
nsURI  xsd:string  required      
source
<xsd:complexType name="ExtensionModel">
  <xsd:annotation>
    <xsd:documentation>
  		The extension model is the root container of all the extension structures (classes, properties, and so on.)
  	  </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="add-property" type="this:AddProperty" minOccurs="0" maxOccurs="unbounded" ecore:name="addProperties"/>
    <xsd:element name="type-visibility" type="this:TypeVisibility" minOccurs="0" maxOccurs="unbounded" ecore:name="typeVisibilities"/>
    <xsd:element name="class" type="this:Class" minOccurs="0" maxOccurs="unbounded" ecore:name="classes"/>
    <xsd:element name="enum" type="this:Enum" minOccurs="0" maxOccurs="unbounded" ecore:name="enums"/>
    <xsd:element name="struct" type="this:Struct" minOccurs="0" maxOccurs="unbounded" ecore:name="structs"/>
    <xsd:element name="hierarchy" type="this:Hierarchy" minOccurs="0" maxOccurs="unbounded" ecore:name="hierarchies"/>
    <xsd:element name="avoidValidate" type="xsd:boolean" minOccurs="0" ecore:name="avoidValidate"/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>
	  		The name of the extension model.
	  	  </xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="nsURI" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>
	  		The URI identifying the extension model.
	  	  </xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>

element ExtensionModel/add-property
diagram
type this:AddProperty
children annotation property
attributes
Name  Type  Use  Default  Fixed  
className  xsd:string        
source
<xsd:element name="add-property" type="this:AddProperty" minOccurs="0" maxOccurs="unbounded" ecore:name="addProperties"/>

element ExtensionModel/type-visibility
diagram
type this:TypeVisibility
attributes
Name  Type  Use  Default  Fixed  
className  xsd:string        
visible  xsd:boolean        
source
<xsd:element name="type-visibility" type="this:TypeVisibility" minOccurs="0" maxOccurs="unbounded" ecore:name="typeVisibilities"/>

element ExtensionModel/class
diagram
type this:Class
children property annotation
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
extends  xsd:string        
source
<xsd:element name="class" type="this:Class" minOccurs="0" maxOccurs="unbounded" ecore:name="classes"/>

element ExtensionModel/enum
diagram
type this:Enum
children annotation
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
source
<xsd:element name="enum" type="this:Enum" minOccurs="0" maxOccurs="unbounded" ecore:name="enums"/>

element ExtensionModel/struct
diagram
type this:Struct
children annotation property
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
source
<xsd:element name="struct" type="this:Struct" minOccurs="0" maxOccurs="unbounded" ecore:name="structs"/>

element ExtensionModel/hierarchy
diagram
type this:Hierarchy
children annotation
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
source
<xsd:element name="hierarchy" type="this:Hierarchy" minOccurs="0" maxOccurs="unbounded" ecore:name="hierarchies"/>

element ExtensionModel/avoidValidate
diagram
type xsd:boolean
source
<xsd:element name="avoidValidate" type="xsd:boolean" minOccurs="0" ecore:name="avoidValidate"/>

complexType Hierarchy
diagram
namespace http://ilog.rules.brms.extension/model
children annotation
used by
element ExtensionModel/hierarchy
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
source
<xsd:complexType name="Hierarchy">
  <xsd:annotation>
    <xsd:documentation>
		Specifies a hierarchy classifier. Hierarchies are like enumeration types, but with items that are structured hierarchically.
	  </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>
			The name of the hierarchy.
	  	</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>

element Hierarchy/annotation
diagram
type this:Annotation
attributes
Name  Type  Use  Default  Fixed  
id  xsd:string  required      
value  xsd:string        
source
<xsd:element name="annotation" type="this:Annotation" minOccurs="0" maxOccurs="unbounded" ecore:name="annotations"/>

complexType Property
diagram
namespace http://ilog.rules.brms.extension/model
children annotation
used by
elements Class/property AddProperty/property Struct/property
attributes
Name  Type  Use  Default  Fixed  
name  xsd:string  required      
type  xsd:string  required      
required  xsd:boolean