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
 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.


Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.