Package org.hibernate.mapping
Class AbstractUserDefinedType
- java.lang.Object
-
- org.hibernate.mapping.AbstractUserDefinedType
-
- All Implemented Interfaces:
Serializable,ContributableDatabaseObject,Exportable,Contributable,UserDefinedType
- Direct Known Subclasses:
UserDefinedArrayType,UserDefinedObjectType
public class AbstractUserDefinedType extends Object implements UserDefinedType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractUserDefinedType(String contributor, Namespace namespace, Identifier physicalTypeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)booleanequals(AbstractUserDefinedType table)StringgetCatalog()StringgetContributor()The name of the contributor which contributed thisStringgetExportIdentifier()Get a unique identifier to make sure we are not exporting the same database structure multiple times.StringgetName()IdentifiergetNameIdentifier()StringgetQualifiedName(SqlStringGenerationContext context)QualifiedTableNamegetQualifiedTableName()StringgetQuotedCatalog()StringgetQuotedCatalog(Dialect dialect)StringgetQuotedName()StringgetQuotedName(Dialect dialect)StringgetQuotedSchema()StringgetQuotedSchema(Dialect dialect)StringgetSchema()inthashCode()booleanisCatalogQuoted()booleanisQuoted()booleanisSchemaQuoted()voidsetCatalog(String catalog)voidsetName(String name)voidsetQuoted(boolean quoted)voidsetSchema(String schema)StringtoString()
-
-
-
Constructor Detail
-
AbstractUserDefinedType
public AbstractUserDefinedType(String contributor, Namespace namespace, Identifier physicalTypeName)
-
-
Method Detail
-
getContributor
public String getContributor()
Description copied from interface:ContributableThe name of the contributor which contributed this- Specified by:
getContributorin interfaceContributable
-
getQualifiedName
public String getQualifiedName(SqlStringGenerationContext context)
- Specified by:
getQualifiedNamein interfaceUserDefinedType
-
setName
public void setName(String name)
-
getName
public String getName()
- Specified by:
getNamein interfaceUserDefinedType
-
getNameIdentifier
public Identifier getNameIdentifier()
- Specified by:
getNameIdentifierin interfaceUserDefinedType
-
getQuotedName
public String getQuotedName()
- Specified by:
getQuotedNamein interfaceUserDefinedType
-
getQuotedName
public String getQuotedName(Dialect dialect)
- Specified by:
getQuotedNamein interfaceUserDefinedType
-
getQualifiedTableName
public QualifiedTableName getQualifiedTableName()
- Specified by:
getQualifiedTableNamein interfaceUserDefinedType
-
isQuoted
public boolean isQuoted()
- Specified by:
isQuotedin interfaceUserDefinedType
-
setQuoted
public void setQuoted(boolean quoted)
-
setSchema
public void setSchema(String schema)
-
getSchema
public String getSchema()
- Specified by:
getSchemain interfaceUserDefinedType
-
getQuotedSchema
public String getQuotedSchema()
- Specified by:
getQuotedSchemain interfaceUserDefinedType
-
getQuotedSchema
public String getQuotedSchema(Dialect dialect)
- Specified by:
getQuotedSchemain interfaceUserDefinedType
-
isSchemaQuoted
public boolean isSchemaQuoted()
- Specified by:
isSchemaQuotedin interfaceUserDefinedType
-
setCatalog
public void setCatalog(String catalog)
-
getCatalog
public String getCatalog()
- Specified by:
getCatalogin interfaceUserDefinedType
-
getQuotedCatalog
public String getQuotedCatalog()
- Specified by:
getQuotedCatalogin interfaceUserDefinedType
-
isCatalogQuoted
public boolean isCatalogQuoted()
- Specified by:
isCatalogQuotedin interfaceUserDefinedType
-
equals
public boolean equals(AbstractUserDefinedType table)
-
getExportIdentifier
public String getExportIdentifier()
Description copied from interface:ExportableGet a unique identifier to make sure we are not exporting the same database structure multiple times.- Specified by:
getExportIdentifierin interfaceExportable- Returns:
- The exporting identifier.
-
-