public class EntityMappings
extends java.lang.Object
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="{http://xmlns.jcp.org/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="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" minOccurs="0"/> <element name="sequence-generator" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}sequence-generator" maxOccurs="unbounded" minOccurs="0"/> <element name="table-generator" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}table-generator" maxOccurs="unbounded" minOccurs="0"/> <element name="named-query" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}named-query" maxOccurs="unbounded" minOccurs="0"/> <element name="named-native-query" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}named-native-query" maxOccurs="unbounded" minOccurs="0"/> <element name="named-stored-procedure-query" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}named-stored-procedure-query" maxOccurs="unbounded" minOccurs="0"/> <element name="sql-result-set-mapping" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}sql-result-set-mapping" maxOccurs="unbounded" minOccurs="0"/> <element name="mapped-superclass" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}mapped-superclass" maxOccurs="unbounded" minOccurs="0"/> <element name="entity" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}entity" maxOccurs="unbounded" minOccurs="0"/> <element name="embeddable" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embeddable" maxOccurs="unbounded" minOccurs="0"/> <element name="converter" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}converter" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="version" use="required" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}versionType" fixed="2.1" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_package |
protected AccessType |
access |
protected java.lang.String |
catalog |
protected java.util.List<Converter> |
converter |
protected java.lang.String |
description |
protected java.util.List<Embeddable> |
embeddable |
protected java.util.List<Entity> |
entity |
protected java.util.List<MappedSuperclass> |
mappedSuperclass |
protected java.util.List<NamedNativeQuery> |
namedNativeQuery |
protected java.util.List<NamedQuery> |
namedQuery |
protected java.util.List<NamedStoredProcedureQuery> |
namedStoredProcedureQuery |
protected PersistenceUnitMetadata |
persistenceUnitMetadata |
protected java.lang.String |
schema |
protected java.util.List<SequenceGenerator> |
sequenceGenerator |
protected java.util.List<SqlResultSetMapping> |
sqlResultSetMapping |
protected java.util.List<TableGenerator> |
tableGenerator |
protected java.lang.String |
version |
Constructor and Description |
---|
EntityMappings() |
Modifier and Type | Method and Description |
---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
java.lang.String |
getCatalog()
Gets the value of the catalog property.
|
java.util.List<Converter> |
getConverter()
Gets the value of the converter property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<Embeddable> |
getEmbeddable()
Gets the value of the embeddable property.
|
java.util.List<Entity> |
getEntity()
Gets the value of the entity property.
|
java.util.List<MappedSuperclass> |
getMappedSuperclass()
Gets the value of the mappedSuperclass property.
|
java.util.List<NamedNativeQuery> |
getNamedNativeQuery()
Gets the value of the namedNativeQuery property.
|
java.util.List<NamedQuery> |
getNamedQuery()
Gets the value of the namedQuery property.
|
java.util.List<NamedStoredProcedureQuery> |
getNamedStoredProcedureQuery()
Gets the value of the namedStoredProcedureQuery property.
|
java.lang.String |
getPackage()
Gets the value of the package property.
|
PersistenceUnitMetadata |
getPersistenceUnitMetadata()
Gets the value of the persistenceUnitMetadata property.
|
java.lang.String |
getSchema()
Gets the value of the schema property.
|
java.util.List<SequenceGenerator> |
getSequenceGenerator()
Gets the value of the sequenceGenerator property.
|
java.util.List<SqlResultSetMapping> |
getSqlResultSetMapping()
Gets the value of the sqlResultSetMapping property.
|
java.util.List<TableGenerator> |
getTableGenerator()
Gets the value of the tableGenerator property.
|
java.lang.String |
getVersion()
Gets the value of the version property.
|
void |
setAccess(AccessType value)
Sets the value of the access property.
|
void |
setCatalog(java.lang.String value)
Sets the value of the catalog property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setPackage(java.lang.String value)
Sets the value of the package property.
|
void |
setPersistenceUnitMetadata(PersistenceUnitMetadata value)
Sets the value of the persistenceUnitMetadata property.
|
void |
setSchema(java.lang.String value)
Sets the value of the schema property.
|
void |
setVersion(java.lang.String value)
Sets the value of the version property.
|
protected java.lang.String description
protected PersistenceUnitMetadata persistenceUnitMetadata
protected java.lang.String _package
protected java.lang.String schema
protected java.lang.String catalog
protected AccessType access
protected java.util.List<SequenceGenerator> sequenceGenerator
protected java.util.List<TableGenerator> tableGenerator
protected java.util.List<NamedQuery> namedQuery
protected java.util.List<NamedNativeQuery> namedNativeQuery
protected java.util.List<NamedStoredProcedureQuery> namedStoredProcedureQuery
protected java.util.List<SqlResultSetMapping> sqlResultSetMapping
protected java.util.List<MappedSuperclass> mappedSuperclass
protected java.util.List<Entity> entity
protected java.util.List<Embeddable> embeddable
protected java.util.List<Converter> converter
protected java.lang.String version
public java.lang.String getDescription()
String
public void setDescription(java.lang.String value)
value
- allowed object is
String
public PersistenceUnitMetadata getPersistenceUnitMetadata()
PersistenceUnitMetadata
public void setPersistenceUnitMetadata(PersistenceUnitMetadata value)
value
- allowed object is
PersistenceUnitMetadata
public java.lang.String getPackage()
String
public void setPackage(java.lang.String value)
value
- allowed object is
String
public java.lang.String getSchema()
String
public void setSchema(java.lang.String value)
value
- allowed object is
String
public java.lang.String getCatalog()
String
public void setCatalog(java.lang.String value)
value
- allowed object is
String
public AccessType getAccess()
AccessType
public void setAccess(AccessType value)
value
- allowed object is
AccessType
public java.util.List<SequenceGenerator> getSequenceGenerator()
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 set
method 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
public java.util.List<TableGenerator> getTableGenerator()
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 set
method 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
public java.util.List<NamedQuery> getNamedQuery()
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 set
method 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
public java.util.List<NamedNativeQuery> getNamedNativeQuery()
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 set
method 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
public java.util.List<NamedStoredProcedureQuery> getNamedStoredProcedureQuery()
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 set
method 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
public java.util.List<SqlResultSetMapping> getSqlResultSetMapping()
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 set
method 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
public java.util.List<MappedSuperclass> getMappedSuperclass()
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 set
method 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
public java.util.List<Entity> getEntity()
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 set
method 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
public java.util.List<Embeddable> getEmbeddable()
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 set
method 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
public java.util.List<Converter> getConverter()
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 set
method 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
public java.lang.String getVersion()
String
public void setVersion(java.lang.String value)
value
- allowed object is
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.