Package org.apache.derby.catalog
Interface DefaultInfo
-
- All Known Implementing Classes:
DefaultInfoImpl
public interface DefaultInfo
An interface for describing a default for a column or parameter in Derby systems.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDefaultText()
Get the text of a default.java.lang.String
getOriginalCurrentSchema()
Return the name of the current schema when the default was created.java.lang.String[]
getReferencedColumnNames()
If this default is a generation clause, then return the names of other columns in the row which the generation clause references.boolean
isDefaultValueAutoinc()
Is default value generated by auto increment?boolean
isGeneratedColumn()
Return true if this is the generation clause for a generated column.
-
-
-
Method Detail
-
getDefaultText
java.lang.String getDefaultText()
Get the text of a default.- Returns:
- The text of the default.
-
getReferencedColumnNames
java.lang.String[] getReferencedColumnNames()
If this default is a generation clause, then return the names of other columns in the row which the generation clause references.
-
isDefaultValueAutoinc
boolean isDefaultValueAutoinc()
Is default value generated by auto increment?- Returns:
- true if always generated by auto increment.
-
isGeneratedColumn
boolean isGeneratedColumn()
Return true if this is the generation clause for a generated column.
-
getOriginalCurrentSchema
java.lang.String getOriginalCurrentSchema()
Return the name of the current schema when the default was created. This is filled in for generated columns.
-
-