public class OverriddenMappingDefaults extends Object implements MappingDefaults
Constructor and Description |
---|
OverriddenMappingDefaults(MappingDefaults overriddenValues,
String packageName,
String schemaName,
String catalogName,
String idColumnName,
String discriminatorColumnName,
String cascade,
String propertyAccess,
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
|
String |
getCascadeStyle()
Identifies the default cascade style to apply to associations if none specified in the mapping.
|
String |
getCatalogName()
Identifies the default database catalog name to use if none specified in the mapping.
|
String |
getDiscriminatorColumnName()
Identifies the default column name to use for the discriminator column if none specified in the mapping.
|
String |
getIdColumnName()
Identifies the default column name to use for the identifier column if none specified in the mapping.
|
String |
getPackageName()
Identifies the default package name to use if none specified in the mapping.
|
String |
getPropertyAccessorName()
Identifies the default
PropertyAccessor name to use if none specified in the
mapping. |
String |
getSchemaName()
Identifies the default database schema name to use if none specified in the mapping.
|
public String getPackageName()
MappingDefaults
hbm.xml
mappings.getPackageName
in interface MappingDefaults
public String getSchemaName()
MappingDefaults
getSchemaName
in interface MappingDefaults
public String getCatalogName()
MappingDefaults
getCatalogName
in interface MappingDefaults
public String getIdColumnName()
MappingDefaults
getIdColumnName
in interface MappingDefaults
public String getDiscriminatorColumnName()
MappingDefaults
getDiscriminatorColumnName
in interface MappingDefaults
public String getCascadeStyle()
MappingDefaults
getCascadeStyle
in interface MappingDefaults
public 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 © 2012 JBoss by Red Hat. All Rights Reserved.