2010-03-09 03:27:33 +07:00
|
|
|
<?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.base.Callout" name="Callout"/>
|
|
|
|
</appinfo>
|
|
|
|
<documentation>
|
|
|
|
This is the ADempiere Call extension point.
|
|
|
|
|
|
|
|
Callouts provided by plugins are not entered into the application dictionary.
|
|
|
|
Instead, you specify Table and Column in the extension declaration.
|
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
|
|
|
|
<element name="extension">
|
|
|
|
<annotation>
|
|
|
|
<appinfo>
|
|
|
|
<meta.element />
|
|
|
|
</appinfo>
|
|
|
|
</annotation>
|
|
|
|
<complexType>
|
|
|
|
<choice>
|
2010-08-20 15:05:06 +07:00
|
|
|
<element ref="callout" minOccurs="1" maxOccurs="unbounded"/>
|
2010-03-09 03:27:33 +07:00
|
|
|
</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>
|
|
|
|
|
2010-08-20 15:05:06 +07:00
|
|
|
<element name="callout">
|
2010-03-09 03:27:33 +07:00
|
|
|
<complexType>
|
|
|
|
<attribute name="class" type="string" use="required">
|
|
|
|
<annotation>
|
|
|
|
<documentation>
|
2010-12-17 15:03:56 +07:00
|
|
|
Implementation class for the org.adempiere.base.IColumnCallout interface
|
2010-03-09 03:27:33 +07:00
|
|
|
</documentation>
|
|
|
|
<appinfo>
|
2010-03-09 07:27:33 +07:00
|
|
|
<meta.attribute kind="java" basedOn=":org.adempiere.base.IColumnCallout"/>
|
2010-03-09 03:27:33 +07:00
|
|
|
</appinfo>
|
|
|
|
</annotation>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="tableName" type="string" use="required">
|
|
|
|
<annotation>
|
|
|
|
<documentation>
|
2010-12-17 15:03:56 +07:00
|
|
|
Table name that this callout is for. Case sensitive and must match the tableName value in AD_Table.
|
2010-03-09 03:27:33 +07:00
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="columnName" type="string" use="required">
|
|
|
|
<annotation>
|
|
|
|
<documentation>
|
2010-12-17 15:03:56 +07:00
|
|
|
Column name that this callout is for. Case sensitive and must match the columnName value in AD_Column
|
2010-03-09 03:27:33 +07:00
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
</attribute>
|
2010-12-25 09:00:43 +07:00
|
|
|
<attribute name="priority" type="string">
|
|
|
|
<annotation>
|
|
|
|
<documentation>
|
|
|
|
numeric priority value, higher value is of higher priority.
|
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
</attribute>
|
2010-03-09 03:27:33 +07:00
|
|
|
</complexType>
|
|
|
|
</element>
|
|
|
|
|
|
|
|
<annotation>
|
|
|
|
<appinfo>
|
|
|
|
<meta.section type="since"/>
|
|
|
|
</appinfo>
|
|
|
|
<documentation>
|
2010-12-17 15:03:56 +07:00
|
|
|
1.0.0
|
2010-03-09 03:27:33 +07:00
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
|
|
|
|
<annotation>
|
|
|
|
<appinfo>
|
|
|
|
<meta.section type="examples"/>
|
|
|
|
</appinfo>
|
|
|
|
<documentation>
|
2010-12-20 09:46:25 +07:00
|
|
|
<pre>
|
|
|
|
<extension id="org.adempiere.extend.myCallout" point="org.adempiere.base.Callout">
|
|
|
|
<callout class="org.adempiere.extend.MyCallout" tableName="C_Order" columnName="C_BPartner_ID">
|
2010-12-17 15:03:56 +07:00
|
|
|
</callout>
|
|
|
|
</extension>
|
2010-12-20 09:46:25 +07:00
|
|
|
</pre>
|
2010-03-09 03:27:33 +07:00
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
|
|
|
|
<annotation>
|
|
|
|
<appinfo>
|
|
|
|
<meta.section type="apiinfo"/>
|
|
|
|
</appinfo>
|
|
|
|
<documentation>
|
2010-12-17 15:03:56 +07:00
|
|
|
The class attribute must represent an implmentor of org.adempiere.base.IColumnCallout
|
2010-03-09 03:27:33 +07:00
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
|
2010-12-17 15:03:56 +07:00
|
|
|
|
2010-03-09 03:27:33 +07:00
|
|
|
<annotation>
|
|
|
|
<appinfo>
|
2010-12-17 15:03:56 +07:00
|
|
|
<meta.section type="copyright"/>
|
2010-03-09 03:27:33 +07:00
|
|
|
</appinfo>
|
|
|
|
<documentation>
|
2010-12-25 09:00:43 +07:00
|
|
|
This file is part of Adempiere ERP Bazaar http://www.adempiere.org.
|
2010-12-20 09:46:25 +07:00
|
|
|
|
|
|
|
Copyright (C) Jorg Viola.
|
|
|
|
Copyright (C) Contributors.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
|
|
under the terms version 2 of the GNU General Public License as published
|
|
|
|
by the Free Software Foundation. This program is distributed in the hope
|
|
|
|
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
|
|
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
|
|
|
|
|
|
Contributors:
|
2010-12-25 09:00:43 +07:00
|
|
|
Heng Sin Low
|
2010-03-09 03:27:33 +07:00
|
|
|
</documentation>
|
|
|
|
</annotation>
|
|
|
|
|
|
|
|
</schema>
|