Files
Flintstones/bundles/flintstones.entity.valuation/schema/flintstones.valuation.exsd
T
Francisco Jesús Martínez Mimbrera 759a8968a2 public code v1
2026-05-23 00:32:57 +02:00

149 lines
5.1 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="flintstones.valuation" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="flintstones.valuation" id="flintstones.valuation" name="Valuation"/>
</appinfo>
<documentation>
Este punto de extensión permite definir nuevos tipos de evaluaciones, los cuales estarán enlazados con un dominio concreto.
Si revisamos la definición del punto de extensión de dominio, vemos que es posible crear distintos dominios que compartan implementación. Esto nos permite definir distintos tipos de evaluaciones para cada uno de los distintos dominios definidos. Se compartiría la implementación del dominio pero no la implementación de la evaluación.
Por ejemplo un dominio numérico entero se evalúa de forma distinta a uno numérico entero intervalar pero la definición de dominio es la misma.
==============================================================================================================================================
This extension point allows you to define new types of evaluations, which will be linked to a specific domain.
If we review the definition of the domain extension point, we see that it is possible to create different domains that share implementation. This allows us to define different types of evaluations for each of the different domains defined. The implementation of the domain would be shared but not the implementation of the evaluation.
For example, an integer domain is evaluated differently than an interval integer domain but the domain definition is the same.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="valuation"/>
</choice>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="xid" 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="valuation">
<complexType>
<attribute name="uid" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="domain" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="flintstones.entity.domain/domain/@uid"/>
</appinfo>
</annotation>
</attribute>
<attribute name="implementation" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn="flintstones.entity.valuation.Valuation:"/>
</appinfo>
</annotation>
</attribute>
<attribute name="is_intermediate" type="boolean" use="required">
<annotation>
<documentation>
</documentation>
</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>