org.jumpmind.db.io.mapping.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symmetric-db Show documentation
Show all versions of symmetric-db Show documentation
This library is a fork of Apache DdlUtils. DdlUtils is a small, easy-to-use component for working with Database Definition (DDL) files.
<?xml version='1.0'?> <!-- Licensed to JumpMind Inc under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. JumpMind Inc licenses this file to you under the GNU General Public License, version 3.0 (GPLv3) (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the GNU General Public License, version 3.0 (GPLv3) along with this library; if not, see <http://www.gnu.org/licenses/>. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <betwixt-config> <class name="org.jumpmind.db.model.Database"> <element name="database"> <attribute name="name" property="name"/> <attribute name="defaultIdMethod" property="idMethod"/> <attribute name="version" property="version"/> <element property="tables" updater="addTable"/> </element> </class> <class name="org.jumpmind.db.model.Table"> <element name="table"> <attribute name="name" property="name"/> <attribute name="description" property="description"/> <element property="columns" updater="addColumn"/> <element property="foreignKeys" updater="addForeignKey"/> <element property="indices" updater="addIndex"/> </element> </class> <class name="org.jumpmind.db.model.Column"> <element name="column"> <attribute name="name" property="name"/> <attribute name="primaryKey" property="primaryKey"/> <attribute name="required" property="required"/> <attribute name="type" property="type"/> <attribute name="size" property="size"/> <attribute name="default" property="defaultValue"/> <attribute name="autoIncrement" property="autoIncrement"/> <attribute name="description" property="description"/> <attribute name="javaName" property="javaName"/> </element> </class> <class name="org.jumpmind.db.model.ForeignKey"> <element name="foreign-key"> <attribute name="foreignTable" property="foreignTableName"/> <attribute name="name" property="name"/> <element property="references" updater="addReference"/> </element> </class> <class name="org.jumpmind.db.model.Reference"> <element name="reference"> <attribute name="local" property="localColumnName"/> <attribute name="foreign" property="foreignColumnName"/> </element> </class> <class name="org.jumpmind.db.model.NonUniqueIndex"> <element name="index"> <attribute name="name" property="name"/> <element name="index-column" property="columns" updater="addColumn"/> </element> </class> <class name="org.jumpmind.db.model.IndexColumn"> <element name="index-column"> <attribute name="name" property="name"/> <attribute name="size" property="size"/> </element> </class> <class name="org.jumpmind.db.model.UniqueIndex"> <element name="unique"> <attribute name="name" property="name"/> <element name="unique-column" property="columns" updater="addColumn"/> </element> </class> </betwixt-config>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy