com.hardcode.gdbms.engine.data.edition
Class MetadataEditionSupport

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.edition.MetadataEditionSupport
Direct Known Subclasses:
DBMetadataEditionSupport, SpatialMetadataEditionSupport

public class MetadataEditionSupport
extends java.lang.Object


Nested Class Summary
 class MetadataEditionSupport.ModifiedDriverMetadata
           
 class MetadataEditionSupport.ModifiedMetadata
           
 class MetadataEditionSupport.SpatialModifiedDriverMetadata
           
 
Field Summary
protected  EditableDataSource ds
           
protected  java.util.ArrayList<Field> fields
           
 
Constructor Summary
MetadataEditionSupport(EditableDataSource ids)
           
 
Method Summary
 void addField(java.lang.String name, java.lang.String type, java.lang.String[] paramNames, java.lang.String[] paramValues)
           
 void addMetadataEditionListener(MetadataEditionListener listener)
           
 Metadata getDataSourceMetadata()
           
 DriverMetadata getDriverMetadata()
           
 Field getField(int fieldId)
           
 int getFieldCount()
           
 int getFieldIndexByName(java.lang.String name)
           
protected  java.util.ArrayList<Field> getFields()
           
 int getOriginalFieldCount()
           
protected  Metadata getOriginalMetadata()
           
 int getSpatialFieldIndex()
           
static java.lang.String[] getStrings(java.util.Iterator<java.lang.String> i, int tam)
           
 void removeField(int index)
           
 void removeMetadataEditionListener(MetadataEditionListener listener)
           
 void setFieldName(int index, java.lang.String name)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ds

protected EditableDataSource ds

fields

protected java.util.ArrayList<Field> fields
Constructor Detail

MetadataEditionSupport

public MetadataEditionSupport(EditableDataSource ids)
Method Detail

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.