org.hibernate.boot.model.source.internal.hbm.UniqueKeyConstraintSourceImpl Maven / Gradle / Ivy
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.boot.model.source.internal.hbm;
import java.util.Locale;
import org.hibernate.boot.model.source.spi.UniqueKeyConstraintSource;
/**
* @author Steve Ebersole
*/
class UniqueKeyConstraintSourceImpl extends AbstractConstraintSource implements UniqueKeyConstraintSource {
UniqueKeyConstraintSourceImpl(String name, String tableName) {
super( name, tableName );
}
@Override
public String toString() {
return String.format(
Locale.ENGLISH,
"UniqueKeyConstraintSource{name='%s', tableName='%s', columnNames='%s', orderings=}",
name,
tableName,
columnNames
);
}
}