org.databene.platform.db.model
Class DBNotNullConstraint
java.lang.Object
org.databene.platform.db.model.DBConstraint
org.databene.platform.db.model.DBNotNullConstraint
public class DBNotNullConstraint
- extends DBConstraint
Represents a database not-null constraint.
Created: 06.01.2007 09:00:49
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DBNotNullConstraint
public DBNotNullConstraint(DBColumn column)
- Parameters:
column - the DBColumn that is not nullable
DBNotNullConstraint
public DBNotNullConstraint(java.lang.String name,
DBColumn column)
- Parameters:
name - the constraint name - it may be nullcolumn - the DBColumn that is not nullable
getOwner
public DBTable getOwner()
- Description copied from class:
DBConstraint
- Returns the table which owns this constraint
- Specified by:
getOwner in class DBConstraint
- Returns:
- the table which owns this constraint
getColumns
public DBColumn[] getColumns()
- Description copied from class:
DBConstraint
- Returns the columns which constitute this constraint
- Specified by:
getColumns in class DBConstraint
- Returns:
- the columns which constitute this constraint
Copyright © 2010. All Rights Reserved.