core-jgi/org.adempiere.base/schema/org.adempiere.model.IAddres...

114 lines
3.3 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.adempiere.base" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.adempiere.base" id="org.adempiere.model.IAddressValidation" name="Address Validation"/>
</appinfo>
<documentation>
Extension to provide address validation integration through specific address validation implementation
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice>
<element ref="validation"/>
</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="validation">
<complexType>
<attribute name="priority" type="string">
<annotation>
<documentation>
numeric priority value, higher value is of higher priority
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.adempiere.model.IAddressValidation"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
1.0.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
&lt;pre&gt;
&lt;extension
id=&quot;org.adempiere.model.FedexAddressValidation&quot;
name=&quot;FedEx&quot;
point=&quot;org.adempiere.model.IAddressValidation&quot;&gt;
&lt;validation
class=&quot;org.adempiere.model.FedexAddressValidation&quot;
priority=&quot;0&quot;&gt;
&lt;/validation&gt;
&lt;/extension&gt;
C_AddressValidationCfg.AddressValidationClass=&quot;org.adempiere.model.FedexAddressValidation&quot;
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
The class attribute must implement the org.adempiere.model.IAddressValidation class.
</documentation>
</annotation>
</schema>