public class OverriddenMappingDefaults extends java.lang.Object implements MappingDefaults
Constructor and Description |
---|
OverriddenMappingDefaults(MappingDefaults overriddenValues,
java.lang.String packageName,
java.lang.String schemaName,
java.lang.String catalogName,
java.lang.String idColumnName,
java.lang.String discriminatorColumnName,
java.lang.String cascade,
java.lang.String propertyAccess,
java.lang.Boolean associationLaziness) |
Modifier and Type | Method and Description |
---|---|
boolean |
areAssociationsLazy()
Identifies whether associations are lazy by default if not specified in the mapping.
|
AccessType |
getCacheAccessType()
The default cache access type to use
|
java.lang.String |
getCascadeStyle()
Identifies the default cascade style to apply to associations if none specified in the mapping.
|
java.lang.String |
getCatalogName()
Identifies the default database catalog name to use if none specified in the mapping.
|
java.lang.String |
getDiscriminatorColumnName()
Identifies the default column name to use for the discriminator column if none specified in the mapping.
|
java.lang.String |
getIdColumnName()
Identifies the default column name to use for the identifier column if none specified in the mapping.
|
java.lang.String |
getPackageName()
Identifies the default package name to use if none specified in the mapping.
|
java.lang.String |
getPropertyAccessorName()
Identifies the default
PropertyAccessor name to use if none specified in the
mapping. |
java.lang.String |
getSchemaName()
Identifies the default database schema name to use if none specified in the mapping.
|
public OverriddenMappingDefaults(MappingDefaults overriddenValues, java.lang.String packageName, java.lang.String schemaName, java.lang.String catalogName, java.lang.String idColumnName, java.lang.String discriminatorColumnName, java.lang.String cascade, java.lang.String propertyAccess, java.lang.Boolean associationLaziness)
public java.lang.String getPackageName()
MappingDefaults
hbm.xml
mappings.getPackageName
in interface MappingDefaults
public java.lang.String getSchemaName()
MappingDefaults
getSchemaName
in interface MappingDefaults
public java.lang.String getCatalogName()
MappingDefaults
getCatalogName
in interface MappingDefaults
public java.lang.String getIdColumnName()
MappingDefaults
getIdColumnName
in interface MappingDefaults
public java.lang.String getDiscriminatorColumnName()
MappingDefaults
getDiscriminatorColumnName
in interface MappingDefaults
public java.lang.String getCascadeStyle()
MappingDefaults
getCascadeStyle
in interface MappingDefaults
public java.lang.String getPropertyAccessorName()
MappingDefaults
PropertyAccessor
name to use if none specified in the
mapping.getPropertyAccessorName
in interface MappingDefaults
PropertyAccessorFactory
public boolean areAssociationsLazy()
MappingDefaults
areAssociationsLazy
in interface MappingDefaults
public AccessType getCacheAccessType()
MappingDefaults
getCacheAccessType
in interface MappingDefaults
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.