com.hardcode.gdbms.engine.data.edition
Class MetadataEditionSupport
java.lang.Object
com.hardcode.gdbms.engine.data.edition.MetadataEditionSupport
- Direct Known Subclasses:
- DBMetadataEditionSupport, SpatialMetadataEditionSupport
public class MetadataEditionSupport
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ds
protected EditableDataSource ds
fields
protected java.util.ArrayList<Field> fields
MetadataEditionSupport
public MetadataEditionSupport(EditableDataSource ids)
getDataSourceMetadata
public Metadata getDataSourceMetadata()
getDriverMetadata
public DriverMetadata getDriverMetadata()
getOriginalMetadata
protected Metadata getOriginalMetadata()
throws DriverException
- Throws:
DriverException
getFields
protected java.util.ArrayList<Field> getFields()
throws DriverException
- Throws:
DriverException
addField
public void addField(java.lang.String name,
java.lang.String type,
java.lang.String[] paramNames,
java.lang.String[] paramValues)
throws DriverException
- Throws:
DriverException
removeField
public void removeField(int index)
throws DriverException
- Throws:
DriverException
setFieldName
public void setFieldName(int index,
java.lang.String name)
throws DriverException
- Throws:
DriverException
getFieldCount
public int getFieldCount()
throws DriverException
- Throws:
DriverException
getOriginalFieldCount
public int getOriginalFieldCount()
throws DriverException
- Throws:
DriverException
getFieldIndexByName
public int getFieldIndexByName(java.lang.String name)
throws DriverException
- Throws:
DriverException
addMetadataEditionListener
public void addMetadataEditionListener(MetadataEditionListener listener)
removeMetadataEditionListener
public void removeMetadataEditionListener(MetadataEditionListener listener)
start
public void start()
getStrings
public static java.lang.String[] getStrings(java.util.Iterator<java.lang.String> i,
int tam)
getField
public Field getField(int fieldId)
throws DriverException
- Throws:
DriverException
getSpatialFieldIndex
public int getSpatialFieldIndex()
throws DriverException
- Throws:
DriverException
Copyright © 2005-2006 . All Rights Reserved.