blob: a95e791e282baa0f7225e1abf301532e232aa52b [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ocl.examples.emf.validation.validity" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ocl.examples.emf.validation.validity" id="constraint_locator" name="constraint_locator"/>
</appInfo>
<documentation>
A ConstaintLocator provides a mechanism to locate Constraints applicable to an EObject. Each ConstraintLocator provoides an alternate location algorithm.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<choice>
<element ref="locator" minOccurs="1" maxOccurs="unbounded"/>
</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="locator">
<annotation>
<appInfo>
<meta.element labelAttribute="type"/>
</appInfo>
</annotation>
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
A fully qualified name of the Java class implementing &lt;samp&gt;org.eclipse.emf.validation.debug.locator.ConstraintLocator
&lt;/samp&gt;.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.emf.validation.debug.locator.ConstraintLocator"/>
</appInfo>
</annotation>
</attribute>
<attribute name="metaclass" type="string">
<annotation>
<documentation>
The nsURI from which this ConstraintLocator provides constraints. Maybe omitted for a default constraint locator for use whem no explicit ones apply.
</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>
Two ConstraintLocators are built-in.
The EClassConstraintLocator discovers invariants realized by EOperations in the EClasses of the seed EObject.
The EClassifierConstraintLocator discovers constraints specified by EAnnotations in the EClassifiers of the seed EObject.
</documentation>
</annotation>
</schema>