Top Description Methods
org.apache.derby.catalog

public Interface DefaultInfo

Known Direct Implementers
org.apache.derby.catalog.types.DefaultInfoImpl

An interface for describing a default for a column or parameter in Derby systems.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The text of the default.
getDefaultText
()

Get the text of a default.

public String

Returns:

the name of the current schema when the default was created
getOriginalCurrentSchema
()

Return the name of the current schema when the default was created.

public String[]

Returns:

the referenced column names
getReferencedColumnNames
()

If this default is a generation clause, then return the names of other columns in the row which the generation clause references.

public boolean

Returns:

true if always generated by auto increment.
isDefaultValueAutoinc
()

Is default value generated by auto increment?

public boolean

Returns:

true if this is the generation clause for a generated column.
isGeneratedColumn
()

Return true if this is the generation clause for a generated column.

Method Detail

getDefaultTextback to summary
public String getDefaultText()

Get the text of a default.

Returns:String

The text of the default.

getOriginalCurrentSchemaback to summary
public String getOriginalCurrentSchema()

Return the name of the current schema when the default was created. This is filled in for generated columns.

Returns:String

the name of the current schema when the default was created

getReferencedColumnNamesback to summary
public String[] getReferencedColumnNames()

If this default is a generation clause, then return the names of other columns in the row which the generation clause references.

Returns:String[]

the referenced column names

isDefaultValueAutoincback to summary
public boolean isDefaultValueAutoinc()

Is default value generated by auto increment?

Returns:boolean

true if always generated by auto increment.

isGeneratedColumnback to summary
public boolean isGeneratedColumn()

Return true if this is the generation clause for a generated column.

Returns:boolean

true if this is the generation clause for a generated column.