Modifier and Type | Class and Description |
---|---|
static class |
DbmsBean.ConstraintDefinition.ConstraintType |
Constructor and Description |
---|
ConstraintDefinition(String name) |
ConstraintDefinition(String name,
DbmsBean.ConstraintDefinition.ConstraintType constraintType,
Collection<String> columns) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getColumns() |
DbmsBean.ConstraintDefinition.ConstraintType |
getConstraintType() |
String |
getName() |
boolean |
isForeignKey() |
boolean |
isPrimaryKey() |
boolean |
isUniqueKey() |
String |
toString() |
public ConstraintDefinition(String name)
public ConstraintDefinition(String name, DbmsBean.ConstraintDefinition.ConstraintType constraintType, @Nullable Collection<String> columns)
public String getName()
public DbmsBean.ConstraintDefinition.ConstraintType getConstraintType()
public Collection<String> getColumns()
public boolean isForeignKey()
public boolean isPrimaryKey()
public boolean isUniqueKey()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.