com.hardcode.gdbms.engine.data.edition
Class MetadataEditionSupport.ModifiedMetadata
java.lang.Object
com.hardcode.gdbms.engine.data.edition.MetadataEditionSupport.ModifiedMetadata
- All Implemented Interfaces:
- Metadata
- Enclosing class:
- MetadataEditionSupport
public class MetadataEditionSupport.ModifiedMetadata
- extends java.lang.Object
- implements Metadata
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataEditionSupport.ModifiedMetadata
public MetadataEditionSupport.ModifiedMetadata()
getFieldCount
public int getFieldCount()
throws DriverException
- Specified by:
getFieldCount
in interface Metadata
- Returns:
- Number of fields
- Throws:
DriverException
getFieldType
public int getFieldType(int fieldId)
throws DriverException
- Description copied from interface:
Metadata
- Gets the type of the specified field
- Specified by:
getFieldType
in interface Metadata
- Parameters:
fieldId
- index of the field
- Returns:
-
- Throws:
DriverException
getFieldName
public java.lang.String getFieldName(int fieldId)
throws DriverException
- Description copied from interface:
Metadata
- Gets the name of the specified field
- Specified by:
getFieldName
in interface Metadata
- Parameters:
fieldId
- index of the field
- Returns:
- String
- Throws:
DriverException
getPrimaryKey
public java.lang.String[] getPrimaryKey()
throws DriverException
- Description copied from interface:
Metadata
- Gets the names of the primary key fields
- Specified by:
getPrimaryKey
in interface Metadata
- Returns:
-
- Throws:
DriverException
isReadOnly
public java.lang.Boolean isReadOnly(int fieldId)
throws DriverException
- Specified by:
isReadOnly
in interface Metadata
- Parameters:
fieldId
- index of the field
- Returns:
- True if the field is read only, false if not and null
if the underlying format does not have information about
- Throws:
DriverException
Copyright © 2005-2006 . All Rights Reserved.