org.deegree.tools.datastore
Class ModifyFTProperties
java.lang.Object
org.deegree.tools.datastore.ModifyFTProperties
public class ModifyFTProperties
- extends Object
This class enables a user to add a new property to a deegree WFS feature type definition. It is
possible to add a simple property from the feature types major table, a simple property from
another table and a complex property from another already available feature type.
- Version:
- $Revision: 26926 $, $Date: 2010-09-22 17:23:56 +0200 (Wed, 22 Sep 2010) $
- Author:
- Andreas Poth, last edited by: $Author: aschmitz $
Constructor Summary |
ModifyFTProperties(URL ftDefFile,
String featureType,
String propertyName,
String databaseFieldName,
int type)
|
ModifyFTProperties(URL ftDefFile,
String featureType,
String propertyName,
String databaseFieldName,
String table,
String from,
String to,
int type,
int relType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyFTProperties
public ModifyFTProperties(URL ftDefFile,
String featureType,
String propertyName,
String databaseFieldName,
int type)
- Parameters:
ftDefFile
- schema file containing feature type defintionfeatureType
- qualified name of the feature to enhancepropertyName
- name of the new propertydatabaseFieldName
- type
- type code of the ne2 property (@see org.deegree.datatypes.Types)
ModifyFTProperties
public ModifyFTProperties(URL ftDefFile,
String featureType,
String propertyName,
String databaseFieldName,
String table,
String from,
String to,
int type,
int relType)
- Parameters:
ftDefFile
- schema file containing feature type defintionfeatureType
- qualified name of the feature to enhancepropertyName
- name of the new propertydatabaseFieldName
- table
- from
- to
- type
- type code of the new property (@see org.deegree.datatypes.Types)relType
-
addSimplePropertyFromMainTable
public void addSimplePropertyFromMainTable()
throws Exception
- adds a property from the feature types major table
- Throws:
Exception
addSimplePropertyFromOtherTable
public void addSimplePropertyFromOtherTable()
throws Exception
- Throws:
Exception
addComplexProperty
public void addComplexProperty()
main
public static void main(String[] args)
throws Exception
- Parameters:
args
-
- Throws:
Exception
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org