Class JaxbHbmHibernateMapping
- All Implemented Interfaces:
Serializable,ToolingHintContainer,JaxbBindableMappingDescriptor
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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<JaxbHbmClassRenameType> protected Stringprotected Booleanprotected Stringprotected List<JaxbHbmRootEntityType> protected List<JaxbHbmAuxiliaryDatabaseObjectType> protected Stringprotected Stringprotected Booleanprotected List<JaxbHbmFetchProfileType> protected List<JaxbHbmFilterDefinitionType> protected List<JaxbHbmIdentifierGeneratorDefinitionType> protected List<JaxbHbmJoinedSubclassEntityType> protected List<JaxbHbmNamedQueryType> protected List<JaxbHbmResultSetMappingType> protected Stringprotected List<JaxbHbmNamedNativeQueryType> protected List<JaxbHbmDiscriminatorSubclassEntityType> protected List<JaxbHbmTypeDefinitionType> protected List<JaxbHbmUnionSubclassEntityType> Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the catalog property.getClazz()Gets the value of the clazz property.Gets the value of the databaseObject property.Gets the value of the defaultAccess property.Gets the value of the defaultCascade property.Gets the value of the fetchProfile property.Gets the value of the filterDef property.Gets the value of the identifierGenerator property.Gets the value of the import property.Gets the value of the joinedSubclass property.Gets the value of the package property.getQuery()Gets the value of the query property.Gets the value of the resultset property.Gets the value of the schema property.Gets the value of the sqlQuery property.Gets the value of the subclass property.Gets the value of the typedef property.Gets the value of the unionSubclass property.booleanGets the value of the autoImport property.booleanGets the value of the defaultLazy property.voidsetAutoImport(Boolean value) Sets the value of the autoImport property.voidsetCatalog(String value) Sets the value of the catalog property.voidsetDefaultAccess(String value) Sets the value of the defaultAccess property.voidsetDefaultCascade(String value) Sets the value of the defaultCascade property.voidsetDefaultLazy(Boolean value) Sets the value of the defaultLazy property.voidsetPackage(String value) Sets the value of the package property.voidSets the value of the schema property.Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
Field Details
-
identifierGenerator
-
typedef
-
filterDef
-
_import
-
clazz
-
subclass
-
joinedSubclass
-
unionSubclass
-
resultset
-
query
-
sqlQuery
-
fetchProfile
-
databaseObject
-
autoImport
-
catalog
-
defaultAccess
-
defaultCascade
-
defaultLazy
-
_package
-
schema
-
-
Constructor Details
-
JaxbHbmHibernateMapping
public JaxbHbmHibernateMapping()
-
-
Method Details
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the identifierGenerator property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the typedef property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the filterDef property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the import property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the clazz property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the subclass property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the joinedSubclass property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the unionSubclass property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the resultset property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the query property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the sqlQuery property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the fetchProfile property.
-
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 JAXB object. This is why there is not a
setmethod 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:
- The value of the databaseObject property.
-
isAutoImport
public boolean isAutoImport()Gets the value of the autoImport property.- Returns:
- possible object is
Boolean
-
setAutoImport
Sets the value of the autoImport property.- Parameters:
value- allowed object isBoolean
-
getCatalog
Gets the value of the catalog property.- Returns:
- possible object is
String
-
setCatalog
Sets the value of the catalog property.- Parameters:
value- allowed object isString
-
getDefaultAccess
Gets the value of the defaultAccess property.- Returns:
- possible object is
String
-
setDefaultAccess
Sets the value of the defaultAccess property.- Parameters:
value- allowed object isString
-
getDefaultCascade
Gets the value of the defaultCascade property.- Returns:
- possible object is
String
-
setDefaultCascade
Sets the value of the defaultCascade property.- Parameters:
value- allowed object isString
-
isDefaultLazy
public boolean isDefaultLazy()Gets the value of the defaultLazy property.- Returns:
- possible object is
Boolean
-
setDefaultLazy
Sets the value of the defaultLazy property.- Parameters:
value- allowed object isBoolean
-
getPackage
Gets the value of the package property.- Returns:
- possible object is
String
-
setPackage
Sets the value of the package property.- Parameters:
value- allowed object isString
-
getSchema
Gets the value of the schema property.- Returns:
- possible object is
String
-
setSchema
Sets the value of the schema property.- Parameters:
value- allowed object isString
-