nl.gx.webmanager.handler.forms
Interface ResourceEntry


public interface ResourceEntry

A resource entry may be part of a formdefinition. It models a database column and some meta info about this column.


Method Summary
 java.lang.String getColumnName()
           
 java.lang.String getConnectionName()
           
 ResourceEntry getForeignKeyResourceEntry()
           
 java.lang.String getResourceValue()
           
 java.lang.String getTableName()
           
 java.lang.String getValue()
           
 boolean isAutoIncrement()
           
 boolean isPrimkey()
           
 

Method Detail

getValue

java.lang.String getValue()

getResourceValue

java.lang.String getResourceValue()

getConnectionName

java.lang.String getConnectionName()
Returns:
the name of the database connection for this resourceentry

getTableName

java.lang.String getTableName()
Returns:
the name of the table the column is in

getColumnName

java.lang.String getColumnName()
Returns:
the name of the column

getForeignKeyResourceEntry

ResourceEntry getForeignKeyResourceEntry()
Returns:
the corresponding resourceentry in the table this column is referring to as a foreign key

isPrimkey

boolean isPrimkey()
Returns:
true if column is a primary key of the table

isAutoIncrement

boolean isAutoIncrement()
Returns:
true if column is autoincremented by the database. Please note that mysql, mssql and oracle have very different, incompatible ways of doing this.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.