Class EntityMappings
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="persistence-unit-metadata" type="{https://jakarta.ee/xml/ns/persistence/orm}persistence-unit-metadata" minOccurs="0"/>
<element name="package" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="access" type="{https://jakarta.ee/xml/ns/persistence/orm}access-type" minOccurs="0"/>
<element name="sequence-generator" type="{https://jakarta.ee/xml/ns/persistence/orm}sequence-generator" maxOccurs="unbounded" minOccurs="0"/>
<element name="table-generator" type="{https://jakarta.ee/xml/ns/persistence/orm}table-generator" maxOccurs="unbounded" minOccurs="0"/>
<element name="named-query" type="{https://jakarta.ee/xml/ns/persistence/orm}named-query" maxOccurs="unbounded" minOccurs="0"/>
<element name="named-native-query" type="{https://jakarta.ee/xml/ns/persistence/orm}named-native-query" maxOccurs="unbounded" minOccurs="0"/>
<element name="named-stored-procedure-query" type="{https://jakarta.ee/xml/ns/persistence/orm}named-stored-procedure-query" maxOccurs="unbounded" minOccurs="0"/>
<element name="sql-result-set-mapping" type="{https://jakarta.ee/xml/ns/persistence/orm}sql-result-set-mapping" maxOccurs="unbounded" minOccurs="0"/>
<element name="mapped-superclass" type="{https://jakarta.ee/xml/ns/persistence/orm}mapped-superclass" maxOccurs="unbounded" minOccurs="0"/>
<element name="entity" type="{https://jakarta.ee/xml/ns/persistence/orm}entity" maxOccurs="unbounded" minOccurs="0"/>
<element name="embeddable" type="{https://jakarta.ee/xml/ns/persistence/orm}embeddable" maxOccurs="unbounded" minOccurs="0"/>
<element name="converter" type="{https://jakarta.ee/xml/ns/persistence/orm}converter" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="version" use="required" type="{https://jakarta.ee/xml/ns/persistence/orm}versionType" fixed="3.1" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected AccessTypeprotected Stringprotected Stringprotected List<Embeddable>protected List<MappedSuperclass>protected List<NamedNativeQuery>protected List<NamedQuery>protected List<NamedStoredProcedureQuery>protected PersistenceUnitMetadataprotected Stringprotected List<SequenceGenerator>protected List<SqlResultSetMapping>protected List<TableGenerator>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the catalog property.Gets the value of the converter property.Gets the value of the description property.Gets the value of the embeddable property.Gets the value of the entity property.Gets the value of the mappedSuperclass property.Gets the value of the namedNativeQuery property.Gets the value of the namedQuery property.Gets the value of the namedStoredProcedureQuery property.Gets the value of the package property.Gets the value of the persistenceUnitMetadata property.Gets the value of the schema property.Gets the value of the sequenceGenerator property.Gets the value of the sqlResultSetMapping property.Gets the value of the tableGenerator property.Gets the value of the version property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetCatalog(String value) Sets the value of the catalog property.voidsetDescription(String value) Sets the value of the description property.voidsetPackage(String value) Sets the value of the package property.voidSets the value of the persistenceUnitMetadata property.voidSets the value of the schema property.voidsetVersion(String value) Sets the value of the version property.
-
Field Details
-
description
-
persistenceUnitMetadata
-
_package
-
schema
-
catalog
-
access
-
sequenceGenerator
-
tableGenerator
-
namedQuery
-
namedNativeQuery
-
namedStoredProcedureQuery
-
sqlResultSetMapping
-
mappedSuperclass
-
entity
-
embeddable
-
converter
-
version
-
-
Constructor Details
-
EntityMappings
public EntityMappings()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getPersistenceUnitMetadata
Gets the value of the persistenceUnitMetadata property.- Returns:
- possible object is
PersistenceUnitMetadata
-
setPersistenceUnitMetadata
Sets the value of the persistenceUnitMetadata property.- Parameters:
value- allowed object isPersistenceUnitMetadata
-
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
-
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
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
AccessType
-
setAccess
Sets the value of the access property.- Parameters:
value- allowed object isAccessType
-
getSequenceGenerator
Gets the value of the sequenceGenerator 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
setmethod for the sequenceGenerator property.For example, to add a new item, do as follows:
getSequenceGenerator().add(newItem);Objects of the following type(s) are allowed in the list
SequenceGenerator- Returns:
- The value of the sequenceGenerator property.
-
getTableGenerator
Gets the value of the tableGenerator 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
setmethod for the tableGenerator property.For example, to add a new item, do as follows:
getTableGenerator().add(newItem);Objects of the following type(s) are allowed in the list
TableGenerator- Returns:
- The value of the tableGenerator property.
-
getNamedQuery
Gets the value of the namedQuery 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
setmethod for the namedQuery property.For example, to add a new item, do as follows:
getNamedQuery().add(newItem);Objects of the following type(s) are allowed in the list
NamedQuery- Returns:
- The value of the namedQuery property.
-
getNamedNativeQuery
Gets the value of the namedNativeQuery 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
setmethod for the namedNativeQuery property.For example, to add a new item, do as follows:
getNamedNativeQuery().add(newItem);Objects of the following type(s) are allowed in the list
NamedNativeQuery- Returns:
- The value of the namedNativeQuery property.
-
getNamedStoredProcedureQuery
Gets the value of the namedStoredProcedureQuery 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
setmethod for the namedStoredProcedureQuery property.For example, to add a new item, do as follows:
getNamedStoredProcedureQuery().add(newItem);Objects of the following type(s) are allowed in the list
NamedStoredProcedureQuery- Returns:
- The value of the namedStoredProcedureQuery property.
-
getSqlResultSetMapping
Gets the value of the sqlResultSetMapping 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
setmethod for the sqlResultSetMapping property.For example, to add a new item, do as follows:
getSqlResultSetMapping().add(newItem);Objects of the following type(s) are allowed in the list
SqlResultSetMapping- Returns:
- The value of the sqlResultSetMapping property.
-
getMappedSuperclass
Gets the value of the mappedSuperclass 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
setmethod for the mappedSuperclass property.For example, to add a new item, do as follows:
getMappedSuperclass().add(newItem);Objects of the following type(s) are allowed in the list
MappedSuperclass- Returns:
- The value of the mappedSuperclass property.
-
getEntity
Gets the value of the entity 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
setmethod for the entity property.For example, to add a new item, do as follows:
getEntity().add(newItem);Objects of the following type(s) are allowed in the list
Entity- Returns:
- The value of the entity property.
-
getEmbeddable
Gets the value of the embeddable 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
setmethod for the embeddable property.For example, to add a new item, do as follows:
getEmbeddable().add(newItem);Objects of the following type(s) are allowed in the list
Embeddable- Returns:
- The value of the embeddable property.
-
getConverter
Gets the value of the converter 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
setmethod for the converter property.For example, to add a new item, do as follows:
getConverter().add(newItem);Objects of the following type(s) are allowed in the list
Converter- Returns:
- The value of the converter property.
-
getVersion
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isString
-