Interface IDBField

All Superinterfaces:
Comparable<IDBSchemaElement>, org.eclipse.net4j.util.container.IContainer<IDBSchemaElement>, IDBElement, IDBNamedElement, IDBSchemaElement, org.eclipse.net4j.util.event.INotifier, org.eclipse.net4j.util.collection.PositionProvider
All Known Subinterfaces:
InternalDBField

public interface IDBField extends IDBSchemaElement, org.eclipse.net4j.util.collection.PositionProvider
A field (column) specification in a DB table.
Author:
Eike Stepper
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.
  • Field Details

  • Method Details

    • getParent

      IDBTable getParent()
      Specified by:
      getParent in interface IDBElement
      Specified by:
      getParent in interface IDBSchemaElement
      Since:
      4.2
    • getTable

      IDBTable getTable()
    • getType

      DBType getType()
    • setType

      void setType(DBType type)
    • getPrecision

      int getPrecision()
    • setPrecision

      void setPrecision(int precision)
    • getScale

      int getScale()
    • setScale

      void setScale(int scale)
    • isNotNull

      boolean isNotNull()
    • setNotNull

      void setNotNull(boolean notNull)
    • isIndexed

      boolean isIndexed()
      Since:
      4.9
    • getIndices

      IDBIndex[] getIndices()
      Since:
      4.9
    • getFullName

      String getFullName()
      Specified by:
      getFullName in interface IDBSchemaElement
    • formatPrecision

      String formatPrecision()
    • formatPrecisionAndScale

      String formatPrecisionAndScale()