Class HibernateMappingGlobalSettings
java.lang.Object
org.hibernate.tool.internal.export.hbm.HibernateMappingGlobalSettings
This class replicates the global settings that can be selected
within the mapping document. This is provided to allow a GUI
too to choose these settings and thus the generated mapping
document will include them.
- Author:
- David Channon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanReturns the autoImport.booleanvoidsetAutoImport(boolean autoImport) Sets the autoImport.voidsetCatalogName(String catalogName) Sets the catalogName.voidsetDefaultAccess(String defaultAccess) sets the default access strategyvoidsetDefaultCascade(String defaultCascade) Sets the defaultCascade.voidsetDefaultLazy(boolean defaultLazy) Sets the defaultLazy.voidsetDefaultPackage(String defaultPackage) voidsetSchemaName(String schemaName) Sets the schemaName.
-
Constructor Details
-
HibernateMappingGlobalSettings
public HibernateMappingGlobalSettings()
-
-
Method Details
-
hasNonDefaultSettings
public boolean hasNonDefaultSettings() -
hasDefaultPackage
public boolean hasDefaultPackage() -
hasSchemaName
public boolean hasSchemaName() -
hasCatalogName
public boolean hasCatalogName() -
hasNonDefaultCascade
public boolean hasNonDefaultCascade() -
hasNonDefaultAccess
public boolean hasNonDefaultAccess() -
getSchemaName
-
getCatalogName
-
getDefaultCascade
-
getDefaultAccess
-
getDefaultPackage
-
isDefaultLazy
public boolean isDefaultLazy() -
isAutoImport
public boolean isAutoImport()Returns the autoImport.- Returns:
- boolean
-
setSchemaName
Sets the schemaName.- Parameters:
schemaName- The schemaName to set
-
setCatalogName
Sets the catalogName.- Parameters:
catalogName- The catalogName to set
-
setDefaultCascade
Sets the defaultCascade.- Parameters:
defaultCascade- The defaultCascade to set
-
setDefaultAccess
sets the default access strategy- Parameters:
defaultAccess- the default access strategy.
-
setDefaultPackage
- Parameters:
defaultPackage- The defaultPackage to set.
-
setAutoImport
public void setAutoImport(boolean autoImport) Sets the autoImport.- Parameters:
autoImport- The autoImport to set
-
setDefaultLazy
public void setDefaultLazy(boolean defaultLazy) Sets the defaultLazy.- Parameters:
defaultLazy- The defaultLazy to set
-