package org.hibernate.boot.model.relational;
import java.util.Set;
public class NamedAuxiliaryDatabaseObject
extends SimpleAuxiliaryDatabaseObject
implements Exportable {
private final String name;
public NamedAuxiliaryDatabaseObject(
String name,
Namespace namespace,
String createString,
String dropString,
Set<String> dialectScopes) {
super( namespace, createString, dropString, dialectScopes );
this.name = name;
}
public NamedAuxiliaryDatabaseObject(
String name,
Namespace namespace,
String[] createStrings,
String[] dropStrings,
Set<String> dialectScopes) {
super( namespace, createStrings, dropStrings, dialectScopes );
this.name = name;
}
@Override
public String getExportIdentifier() {
return name;
}
}