mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
22 lines
466 B
Java
22 lines
466 B
Java
package com.avaje.ebeaninternal.server.deploy;
|
|
|
|
/**
|
|
* Holds multiple column unique constraints defined for an entity.
|
|
*/
|
|
public class CompoundUniqueContraint {
|
|
|
|
private final String[] columns;
|
|
|
|
public CompoundUniqueContraint(String[] columns) {
|
|
this.columns = columns;
|
|
}
|
|
|
|
/**
|
|
* Return the columns that make up this unique constraint.
|
|
*/
|
|
public String[] getColumns() {
|
|
return columns;
|
|
}
|
|
|
|
}
|