Package org.eclipse.net4j.db.ddl
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
IDBSchemaElement.SchemaElementType
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionIDBIndex[]
int
int
getScale()
getTable()
getType()
boolean
boolean
void
setNotNull
(boolean notNull) void
setPrecision
(int precision) void
setScale
(int scale) void
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBElement
getProperties
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBNamedElement
getName
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
accept, getElement, getSchema, getSchemaElementType, remove, setName
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
Methods inherited from interface org.eclipse.net4j.util.collection.PositionProvider
getPosition
-
Field Details
-
DEFAULT
static final int DEFAULT- See Also:
-
-
Method Details
-
getParent
IDBTable getParent()- Specified by:
getParent
in interfaceIDBElement
- Specified by:
getParent
in interfaceIDBSchemaElement
- Since:
- 4.2
-
getTable
IDBTable getTable() -
getType
DBType getType() -
setType
-
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 interfaceIDBSchemaElement
-
formatPrecision
String formatPrecision() -
formatPrecisionAndScale
String formatPrecisionAndScale()
-