Package com.atlassian.bamboo.utils.db
Class DbmsBean.ConstraintDefinition
- java.lang.Object
-
- com.atlassian.bamboo.utils.db.DbmsBean.ConstraintDefinition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DbmsBean.ConstraintDefinition.ConstraintType
-
Constructor Summary
Constructors Constructor Description ConstraintDefinition(String name)
ConstraintDefinition(String name, DbmsBean.ConstraintDefinition.ConstraintType constraintType, @Nullable Collection<String> columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
getColumns()
DbmsBean.ConstraintDefinition.ConstraintType
getConstraintType()
String
getName()
boolean
isForeignKey()
boolean
isPrimaryKey()
boolean
isUniqueKey()
String
toString()
-
-
-
Constructor Detail
-
ConstraintDefinition
public ConstraintDefinition(String name)
-
ConstraintDefinition
public ConstraintDefinition(String name, DbmsBean.ConstraintDefinition.ConstraintType constraintType, @Nullable @Nullable Collection<String> columns)
-
-
Method Detail
-
getName
public String getName()
-
getConstraintType
public DbmsBean.ConstraintDefinition.ConstraintType getConstraintType()
-
getColumns
public Collection<String> getColumns()
-
isForeignKey
public boolean isForeignKey()
-
isPrimaryKey
public boolean isPrimaryKey()
-
isUniqueKey
public boolean isUniqueKey()
-
-