All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.querydsl.sql.ddl.IndexData Maven / Gradle / Ivy

There is a newer version: 6.9
Show newest version
/*
 * 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