com.querydsl.sql.ddl.IndexData Maven / Gradle / Ivy
/*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.querydsl.sql.ddl;
/**
* @author tiwe
*/
public class IndexData {
private final String name;
private final String[] columns;
private boolean unique;
public IndexData(String name, String[] columns) {
this.name = name;
this.columns = columns.clone();
}
public String getName() {
return name;
}
public String[] getColumns() {
return columns.clone();
}
public boolean isUnique() {
return unique;
}
public void setUnique(boolean unique) {
this.unique = unique;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy