114 lines
3.3 KiB
Plaintext
114 lines
3.3 KiB
Plaintext
|
<?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>
|
||
|
<pre>
|
||
|
<extension
|
||
|
id="org.adempiere.model.FedexAddressValidation"
|
||
|
name="FedEx"
|
||
|
point="org.adempiere.model.IAddressValidation">
|
||
|
<validation
|
||
|
class="org.adempiere.model.FedexAddressValidation"
|
||
|
priority="0">
|
||
|
</validation>
|
||
|
</extension>
|
||
|
|
||
|
C_AddressValidationCfg.AddressValidationClass="org.adempiere.model.FedexAddressValidation"
|
||
|
</pre>
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
|
||
|
<annotation>
|
||
|
<appinfo>
|
||
|
<meta.section type="apiinfo"/>
|
||
|
</appinfo>
|
||
|
<documentation>
|
||
|
The class attribute must implement the org.adempiere.model.IAddressValidation class.
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
|
||
|
|
||
|
|
||
|
</schema>
|