public class TableConstraintsInfo extends Object
Constructor and Description |
---|
TableConstraintsInfo() |
TableConstraintsInfo(PrimaryKeyInfo primaryKeyInfo,
ForeignKeyInfo foreignKeyInfo,
UniqueConstraint uniqueConstraint,
DefaultConstraint defaultConstraint,
CheckConstraint checkConstraint,
NotNullConstraint notNullConstraint) |
Modifier and Type | Method and Description |
---|---|
CheckConstraint |
getCheckConstraint() |
DefaultConstraint |
getDefaultConstraint() |
ForeignKeyInfo |
getForeignKeyInfo() |
NotNullConstraint |
getNotNullConstraint() |
PrimaryKeyInfo |
getPrimaryKeyInfo() |
UniqueConstraint |
getUniqueConstraint() |
boolean |
isTableConstraintsInfoNotEmpty() |
void |
setCheckConstraint(CheckConstraint checkConstraint) |
void |
setDefaultConstraint(DefaultConstraint defaultConstraint) |
void |
setForeignKeyInfo(ForeignKeyInfo foreignKeyInfo) |
void |
setNotNullConstraint(NotNullConstraint notNullConstraint) |
void |
setPrimaryKeyInfo(PrimaryKeyInfo primaryKeyInfo) |
void |
setUniqueConstraint(UniqueConstraint uniqueConstraint) |
public TableConstraintsInfo()
public TableConstraintsInfo(PrimaryKeyInfo primaryKeyInfo, ForeignKeyInfo foreignKeyInfo, UniqueConstraint uniqueConstraint, DefaultConstraint defaultConstraint, CheckConstraint checkConstraint, NotNullConstraint notNullConstraint)
public PrimaryKeyInfo getPrimaryKeyInfo()
public void setPrimaryKeyInfo(PrimaryKeyInfo primaryKeyInfo)
public ForeignKeyInfo getForeignKeyInfo()
public void setForeignKeyInfo(ForeignKeyInfo foreignKeyInfo)
public UniqueConstraint getUniqueConstraint()
public void setUniqueConstraint(UniqueConstraint uniqueConstraint)
public DefaultConstraint getDefaultConstraint()
public void setDefaultConstraint(DefaultConstraint defaultConstraint)
public CheckConstraint getCheckConstraint()
public void setCheckConstraint(CheckConstraint checkConstraint)
public NotNullConstraint getNotNullConstraint()
public void setNotNullConstraint(NotNullConstraint notNullConstraint)
public boolean isTableConstraintsInfoNotEmpty()
Copyright © 2022 The Apache Software Foundation. All rights reserved.