406 lines
13 KiB
XML
406 lines
13 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="afryca.consensusmodel" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.schema plugin="afryca.consensusmodel" id="ConsensusModel" name="ConsensusModel"/>
|
|
</appinfo>
|
|
<documentation>
|
|
[Enter description of this extension point.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.element />
|
|
</appinfo>
|
|
</annotation>
|
|
<complexType>
|
|
<choice minOccurs="1" maxOccurs="unbounded">
|
|
<element ref="ConsensusModel"/>
|
|
</choice>
|
|
<attribute name="point" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="id" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="ConsensusModel">
|
|
<complexType>
|
|
<sequence minOccurs="0" maxOccurs="unbounded">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element ref="Variable" minOccurs="0" maxOccurs="unbounded"/>
|
|
</choice>
|
|
</sequence>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="ConsensusModel" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
The class that implement the consensus model
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn="afryca.consensusmodel.ConsensusModel:"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="Name" type="string" use="default" value="Model name">
|
|
<annotation>
|
|
<documentation>
|
|
Model name
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="Information" type="string" use="default" value="Model information">
|
|
<annotation>
|
|
<documentation>
|
|
Model information
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="MainFeatures" type="string" use="default" value="Model main features">
|
|
<annotation>
|
|
<documentation>
|
|
Model main features
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="Observations" type="string" use="default" value="Model observations">
|
|
<annotation>
|
|
<documentation>
|
|
Model observations
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="WithFeedback" type="boolean" use="default" value="false">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="Structure" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="identifier" basedOn="afryca.structure.structure/structure_type/@id"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="Multicriteria" type="boolean" use="default" value="false">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Variable">
|
|
<complexType>
|
|
<sequence minOccurs="0" maxOccurs="unbounded">
|
|
<choice minOccurs="0" maxOccurs="unbounded">
|
|
<element ref="Restriction" minOccurs="0" maxOccurs="unbounded"/>
|
|
<element ref="Array_restriction" minOccurs="0" maxOccurs="unbounded"/>
|
|
<element ref="Array_relation" minOccurs="0" maxOccurs="unbounded"/>
|
|
<element ref="Relation" minOccurs="0" maxOccurs="unbounded"/>
|
|
<element ref="Dialog" minOccurs="0" maxOccurs="unbounded"/>
|
|
</choice>
|
|
</sequence>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
Variable id
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="description" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Variable description
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="type" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
Variable type
|
|
</documentation>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="Boolean">
|
|
</enumeration>
|
|
<enumeration value="Integer">
|
|
</enumeration>
|
|
<enumeration value="Float">
|
|
</enumeration>
|
|
<enumeration value="FPR">
|
|
</enumeration>
|
|
<enumeration value="String">
|
|
</enumeration>
|
|
<enumeration value="Operation">
|
|
</enumeration>
|
|
<enumeration value="Dialog">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="default_value" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Default value for variable. It is possible to define a equation.
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="array_default_element_value" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Default value for array elements
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="is_array" type="boolean" use="default" value="false">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="is_internal" type="boolean" use="default" value="false">
|
|
<annotation>
|
|
<documentation>
|
|
Default value for variable
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Restriction">
|
|
<complexType>
|
|
<attribute name="type" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="lower_limit">
|
|
</enumeration>
|
|
<enumeration value="upper_limit">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="value" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Array_restriction">
|
|
<complexType>
|
|
<attribute name="type" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="element_lower_limit">
|
|
</enumeration>
|
|
<enumeration value="element_upper_limit">
|
|
</enumeration>
|
|
<enumeration value="elements_sum_value">
|
|
</enumeration>
|
|
<enumeration value="elements_sum_lower_limit">
|
|
</enumeration>
|
|
<enumeration value="elements_sum_upper_limit">
|
|
</enumeration>
|
|
<enumeration value="number_of_elements">
|
|
</enumeration>
|
|
<enumeration value="number_of_elements_greater_than">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="value" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Relation">
|
|
<complexType>
|
|
<attribute name="type" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="equals_to">
|
|
</enumeration>
|
|
<enumeration value="lower_than">
|
|
</enumeration>
|
|
<enumeration value="greater_than">
|
|
</enumeration>
|
|
<enumeration value="at_least">
|
|
</enumeration>
|
|
<enumeration value="at_most">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="variable" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="identifier" basedOn="afryca.consensusmodel/ConsensusModel/Variable/@id"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Array_relation">
|
|
<complexType>
|
|
<attribute name="type" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="number_of_elements_equals_to">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="variable" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="Dialog">
|
|
<complexType>
|
|
<attribute name="dialog" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn="org.eclipse.jface.dialogs.TitleAreaDialog:"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="since"/>
|
|
</appinfo>
|
|
<documentation>
|
|
[Enter the first release in which this extension point appears.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="examples"/>
|
|
</appinfo>
|
|
<documentation>
|
|
[Enter extension point usage example here.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="apiinfo"/>
|
|
</appinfo>
|
|
<documentation>
|
|
[Enter API information here.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="implementation"/>
|
|
</appinfo>
|
|
<documentation>
|
|
[Enter information about supplied implementation of this extension point.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
</schema>
|