Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.hbm.spi

public Class JaxbHbmHibernateMapping

extends JaxbHbmToolingHintContainer
implements Serializable, BindableMappingDescriptor
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.spi.BindableMappingDescriptor, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:
propOrder:identifierGenerator, typedef, filterDef, _import, clazz, subclass, joinedSubclass, unionSubclass, resultset, query, sqlQuery, fetchProfile, databaseObject
@XmlRootElement
name:hibernate-mapping
namespace:http://www.hibernate.org/xsd/orm/hbm
Imports
java.io.Serializable, java.util.ArrayList, .List, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlRootElement, .XmlType, org.hibernate.boot.jaxb.spi.BindableMappingDescriptor

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType>
  <complexContent>
    <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
      <choice maxOccurs="unbounded">
        <element name="identifier-generator" type="{http://www.hibernate.org/xsd/orm/hbm}IdentifierGeneratorDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="typedef" type="{http://www.hibernate.org/xsd/orm/hbm}TypeDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="filter-def" type="{http://www.hibernate.org/xsd/orm/hbm}FilterDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="import" type="{http://www.hibernate.org/xsd/orm/hbm}ClassRenameType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="class" type="{http://www.hibernate.org/xsd/orm/hbm}RootEntityType"/>
        <element name="subclass" type="{http://www.hibernate.org/xsd/orm/hbm}DiscriminatorSubclassEntityType"/>
        <element name="joined-subclass" type="{http://www.hibernate.org/xsd/orm/hbm}JoinedSubclassEntityType"/>
        <element name="union-subclass" type="{http://www.hibernate.org/xsd/orm/hbm}UnionSubclassEntityType"/>
        <element name="resultset" type="{http://www.hibernate.org/xsd/orm/hbm}ResultSetMappingType" maxOccurs="unbounded" minOccurs="0"/>
        <group ref="{http://www.hibernate.org/xsd/orm/hbm}NamedQueryGroup" maxOccurs="unbounded" minOccurs="0"/>
        <element name="fetch-profile" type="{http://www.hibernate.org/xsd/orm/hbm}FetchProfileType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="database-object" type="{http://www.hibernate.org/xsd/orm/hbm}AuxiliaryDatabaseObjectType" maxOccurs="unbounded" minOccurs="0"/>
      </choice>
      <attribute name="auto-import" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
      <attribute name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="default-access" type="{http://www.w3.org/2001/XMLSchema}string" default="property" />
      <attribute name="default-cascade" type="{http://www.w3.org/2001/XMLSchema}string" default="none" />
      <attribute name="default-lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
      <attribute name="package" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
      <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
    </extension>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected List<JaxbHbmClassRenameType>
protected String
protected Boolean
protected String
protected List<JaxbHbmRootEntityType>
protected List<JaxbHbmAuxiliaryDatabaseObjectType>
protected String
protected String
protected Boolean
protected List<JaxbHbmFetchProfileType>
protected List<JaxbHbmFilterDefinitionType>
protected List<JaxbHbmIdentifierGeneratorDefinitionType>
protected List<JaxbHbmJoinedSubclassEntityType>
protected List<JaxbHbmNamedQueryType>
protected List<JaxbHbmResultSetMappingType>
protected String
protected List<JaxbHbmNamedNativeQueryType>
protected List<JaxbHbmDiscriminatorSubclassEntityType>
protected List<JaxbHbmTypeDefinitionType>
protected List<JaxbHbmUnionSubclassEntityType>
Inherited from org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer:
toolingHints

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getCatalog
()

Gets the value of the catalog property.

public List<JaxbHbmRootEntityType>

Returns:

The value of the clazz property.
getClazz
()

Gets the value of the clazz property.

public List<JaxbHbmAuxiliaryDatabaseObjectType>

Returns:

The value of the databaseObject property.
getDatabaseObject
()

Gets the value of the databaseObject property.

public String

Returns:

possible object is String
getDefaultAccess
()

Gets the value of the defaultAccess property.

public String

Returns:

possible object is String
getDefaultCascade
()

Gets the value of the defaultCascade property.

public List<JaxbHbmFetchProfileType>

Returns:

The value of the fetchProfile property.
getFetchProfile
()

Gets the value of the fetchProfile property.

public List<JaxbHbmFilterDefinitionType>

Returns:

The value of the filterDef property.
getFilterDef
()

Gets the value of the filterDef property.

public List<JaxbHbmIdentifierGeneratorDefinitionType>

Returns:

The value of the identifierGenerator property.
getIdentifierGenerator
()

Gets the value of the identifierGenerator property.

public List<JaxbHbmClassRenameType>

Returns:

The value of the import property.
getImport
()

Gets the value of the import property.

public List<JaxbHbmJoinedSubclassEntityType>

Returns:

The value of the joinedSubclass property.
getJoinedSubclass
()

Gets the value of the joinedSubclass property.

public String

Returns:

possible object is String
getPackage
()

Gets the value of the package property.

public List<JaxbHbmNamedQueryType>

Returns:

The value of the query property.
getQuery
()

Gets the value of the query property.

public List<JaxbHbmResultSetMappingType>

Returns:

The value of the resultset property.
getResultset
()

Gets the value of the resultset property.

public String

Returns:

possible object is String
getSchema
()

Gets the value of the schema property.

public List<JaxbHbmNamedNativeQueryType>

Returns:

The value of the sqlQuery property.
getSqlQuery
()

Gets the value of the sqlQuery property.

public List<JaxbHbmDiscriminatorSubclassEntityType>

Returns:

The value of the subclass property.
getSubclass
()

Gets the value of the subclass property.

public List<JaxbHbmTypeDefinitionType>

Returns:

The value of the typedef property.
getTypedef
()

Gets the value of the typedef property.

public List<JaxbHbmUnionSubclassEntityType>

Returns:

The value of the unionSubclass property.
getUnionSubclass
()

Gets the value of the unionSubclass property.

public boolean

Returns:

possible object is Boolean
isAutoImport
()

Gets the value of the autoImport property.

public boolean

Returns:

possible object is Boolean
isDefaultLazy
()

Gets the value of the defaultLazy property.

public void
setAutoImport(Boolean
allowed object is Boolean
value
)

Sets the value of the autoImport property.

public void
setCatalog(String
allowed object is String
value
)

Sets the value of the catalog property.

public void
setDefaultAccess(String
allowed object is String
value
)

Sets the value of the defaultAccess property.

public void
setDefaultCascade(String
allowed object is String
value
)

Sets the value of the defaultCascade property.

public void
setDefaultLazy(Boolean
allowed object is Boolean
value
)

Sets the value of the defaultLazy property.

public void
setPackage(String
allowed object is String
value
)

Sets the value of the package property.

public void
setSchema(String
allowed object is String
value
)

Sets the value of the schema property.

Inherited from org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer:
getToolingHints

Field Detail

_importback to summary
protected List<JaxbHbmClassRenameType> _import
Annotations
@XmlElement
name:import
namespace:http://www.hibernate.org/xsd/orm/hbm
_packageback to summary
protected String _package
Annotations
@XmlAttribute
name:package
autoImportback to summary
protected Boolean autoImport
Annotations
@XmlAttribute
name:auto-import
catalogback to summary
protected String catalog
Annotations
@XmlAttribute
name:catalog
clazzback to summary
protected List<JaxbHbmRootEntityType> clazz
Annotations
@XmlElement
name:class
namespace:http://www.hibernate.org/xsd/orm/hbm
databaseObjectback to summary
protected List<JaxbHbmAuxiliaryDatabaseObjectType> databaseObject
Annotations
@XmlElement
name:database-object
namespace:http://www.hibernate.org/xsd/orm/hbm
defaultAccessback to summary
protected String defaultAccess
Annotations
@XmlAttribute
name:default-access
defaultCascadeback to summary
protected String defaultCascade
Annotations
@XmlAttribute
name:default-cascade
defaultLazyback to summary
protected Boolean defaultLazy
Annotations
@XmlAttribute
name:default-lazy
fetchProfileback to summary
protected List<JaxbHbmFetchProfileType> fetchProfile
Annotations
@XmlElement
name:fetch-profile
namespace:http://www.hibernate.org/xsd/orm/hbm
filterDefback to summary
protected List<JaxbHbmFilterDefinitionType> filterDef
Annotations
@XmlElement
name:filter-def
namespace:http://www.hibernate.org/xsd/orm/hbm
identifierGeneratorback to summary
protected List<JaxbHbmIdentifierGeneratorDefinitionType> identifierGenerator
Annotations
@XmlElement
name:identifier-generator
namespace:http://www.hibernate.org/xsd/orm/hbm
joinedSubclassback to summary
protected List<JaxbHbmJoinedSubclassEntityType> joinedSubclass
Annotations
@XmlElement
name:joined-subclass
namespace:http://www.hibernate.org/xsd/orm/hbm
queryback to summary
protected List<JaxbHbmNamedQueryType> query
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/hbm
resultsetback to summary
protected List<JaxbHbmResultSetMappingType> resultset
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/hbm
schemaback to summary
protected String schema
Annotations
@XmlAttribute
name:schema
sqlQueryback to summary
protected List<JaxbHbmNamedNativeQueryType> sqlQuery
Annotations
@XmlElement
name:sql-query
namespace:http://www.hibernate.org/xsd/orm/hbm
subclassback to summary
protected List<JaxbHbmDiscriminatorSubclassEntityType> subclass
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/hbm
typedefback to summary
protected List<JaxbHbmTypeDefinitionType> typedef
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/hbm
unionSubclassback to summary
protected List<JaxbHbmUnionSubclassEntityType> unionSubclass
Annotations
@XmlElement
name:union-subclass
namespace:http://www.hibernate.org/xsd/orm/hbm

Constructor Detail

JaxbHbmHibernateMappingback to summary
public JaxbHbmHibernateMapping()

Method Detail

getCatalogback to summary
public String getCatalog()

Gets the value of the catalog property.

Returns:String

possible object is String

getClazzback to summary
public List<JaxbHbmRootEntityType> getClazz()

Gets the value of the clazz property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the clazz property.

For example, to add a new item, do as follows:

   getClazz().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmRootEntityType

Returns:List<JaxbHbmRootEntityType>

The value of the clazz property.

getDatabaseObjectback to summary
public List<JaxbHbmAuxiliaryDatabaseObjectType> getDatabaseObject()

Gets the value of the databaseObject property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the databaseObject property.

For example, to add a new item, do as follows:

   getDatabaseObject().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmAuxiliaryDatabaseObjectType

Returns:List<JaxbHbmAuxiliaryDatabaseObjectType>

The value of the databaseObject property.

getDefaultAccessback to summary
public String getDefaultAccess()

Gets the value of the defaultAccess property.

Returns:String

possible object is String

getDefaultCascadeback to summary
public String getDefaultCascade()

Gets the value of the defaultCascade property.

Returns:String

possible object is String

getFetchProfileback to summary
public List<JaxbHbmFetchProfileType> getFetchProfile()

Gets the value of the fetchProfile property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the fetchProfile property.

For example, to add a new item, do as follows:

   getFetchProfile().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmFetchProfileType

Returns:List<JaxbHbmFetchProfileType>

The value of the fetchProfile property.

getFilterDefback to summary
public List<JaxbHbmFilterDefinitionType> getFilterDef()

Gets the value of the filterDef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the filterDef property.

For example, to add a new item, do as follows:

   getFilterDef().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmFilterDefinitionType

Returns:List<JaxbHbmFilterDefinitionType>

The value of the filterDef property.

getIdentifierGeneratorback to summary
public List<JaxbHbmIdentifierGeneratorDefinitionType> getIdentifierGenerator()

Gets the value of the identifierGenerator property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the identifierGenerator property.

For example, to add a new item, do as follows:

   getIdentifierGenerator().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmIdentifierGeneratorDefinitionType

Returns:List<JaxbHbmIdentifierGeneratorDefinitionType>

The value of the identifierGenerator property.

getImportback to summary
public List<JaxbHbmClassRenameType> getImport()

Gets the value of the import property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the import property.

For example, to add a new item, do as follows:

   getImport().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmClassRenameType

Returns:List<JaxbHbmClassRenameType>

The value of the import property.

getJoinedSubclassback to summary
public List<JaxbHbmJoinedSubclassEntityType> getJoinedSubclass()

Gets the value of the joinedSubclass property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the joinedSubclass property.

For example, to add a new item, do as follows:

   getJoinedSubclass().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmJoinedSubclassEntityType

Returns:List<JaxbHbmJoinedSubclassEntityType>

The value of the joinedSubclass property.

getPackageback to summary
public String getPackage()

Gets the value of the package property.

Returns:String

possible object is String

getQueryback to summary
public List<JaxbHbmNamedQueryType> getQuery()

Gets the value of the query property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the query property.

For example, to add a new item, do as follows:

   getQuery().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmNamedQueryType

Returns:List<JaxbHbmNamedQueryType>

The value of the query property.

getResultsetback to summary
public List<JaxbHbmResultSetMappingType> getResultset()

Gets the value of the resultset property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the resultset property.

For example, to add a new item, do as follows:

   getResultset().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmResultSetMappingType

Returns:List<JaxbHbmResultSetMappingType>

The value of the resultset property.

getSchemaback to summary
public String getSchema()

Gets the value of the schema property.

Returns:String

possible object is String

getSqlQueryback to summary
public List<JaxbHbmNamedNativeQueryType> getSqlQuery()

Gets the value of the sqlQuery property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the sqlQuery property.

For example, to add a new item, do as follows:

   getSqlQuery().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmNamedNativeQueryType

Returns:List<JaxbHbmNamedNativeQueryType>

The value of the sqlQuery property.

getSubclassback to summary
public List<JaxbHbmDiscriminatorSubclassEntityType> getSubclass()

Gets the value of the subclass property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the subclass property.

For example, to add a new item, do as follows:

   getSubclass().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmDiscriminatorSubclassEntityType

Returns:List<JaxbHbmDiscriminatorSubclassEntityType>

The value of the subclass property.

getTypedefback to summary
public List<JaxbHbmTypeDefinitionType> getTypedef()

Gets the value of the typedef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the typedef property.

For example, to add a new item, do as follows:

   getTypedef().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmTypeDefinitionType

Returns:List<JaxbHbmTypeDefinitionType>

The value of the typedef property.

getUnionSubclassback to summary
public List<JaxbHbmUnionSubclassEntityType> getUnionSubclass()

Gets the value of the unionSubclass property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the unionSubclass property.

For example, to add a new item, do as follows:

   getUnionSubclass().add(newItem);

Objects of the following type(s) are allowed in the list JaxbHbmUnionSubclassEntityType

Returns:List<JaxbHbmUnionSubclassEntityType>

The value of the unionSubclass property.

isAutoImportback to summary
public boolean isAutoImport()

Gets the value of the autoImport property.

Returns:boolean

possible object is Boolean

isDefaultLazyback to summary
public boolean isDefaultLazy()

Gets the value of the defaultLazy property.

Returns:boolean

possible object is Boolean

setAutoImportback to summary
public void setAutoImport(Boolean value)

Sets the value of the autoImport property.

Parameters
value:Boolean

allowed object is Boolean

setCatalogback to summary
public void setCatalog(String value)

Sets the value of the catalog property.

Parameters
value:String

allowed object is String

setDefaultAccessback to summary
public void setDefaultAccess(String value)

Sets the value of the defaultAccess property.

Parameters
value:String

allowed object is String

setDefaultCascadeback to summary
public void setDefaultCascade(String value)

Sets the value of the defaultCascade property.

Parameters
value:String

allowed object is String

setDefaultLazyback to summary
public void setDefaultLazy(Boolean value)

Sets the value of the defaultLazy property.

Parameters
value:Boolean

allowed object is Boolean

setPackageback to summary
public void setPackage(String value)

Sets the value of the package property.

Parameters
value:String

allowed object is String

setSchemaback to summary
public void setSchema(String value)

Sets the value of the schema property.

Parameters
value:String

allowed object is String