public class JaxbEntityMappings extends 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://java.sun.com/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://java.sun.com/xml/ns/persistence/orm}access-type" minOccurs="0"/> <element name="sequence-generator" type="{http://java.sun.com/xml/ns/persistence/orm}sequence-generator" maxOccurs="unbounded" minOccurs="0"/> <element name="table-generator" type="{http://java.sun.com/xml/ns/persistence/orm}table-generator" maxOccurs="unbounded" minOccurs="0"/> <element name="named-query" type="{http://java.sun.com/xml/ns/persistence/orm}named-query" maxOccurs="unbounded" minOccurs="0"/> <element name="named-native-query" type="{http://java.sun.com/xml/ns/persistence/orm}named-native-query" maxOccurs="unbounded" minOccurs="0"/> <element name="sql-result-set-mapping" type="{http://java.sun.com/xml/ns/persistence/orm}sql-result-set-mapping" maxOccurs="unbounded" minOccurs="0"/> <element name="mapped-superclass" type="{http://java.sun.com/xml/ns/persistence/orm}mapped-superclass" maxOccurs="unbounded" minOccurs="0"/> <element name="entity" type="{http://java.sun.com/xml/ns/persistence/orm}entity" maxOccurs="unbounded" minOccurs="0"/> <element name="embeddable" type="{http://java.sun.com/xml/ns/persistence/orm}embeddable" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/persistence/orm}versionType" fixed="2.0" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
_package |
protected JaxbAccessType |
access |
protected String |
catalog |
protected String |
description |
protected List<JaxbEmbeddable> |
embeddable |
protected List<JaxbEntity> |
entity |
protected List<JaxbMappedSuperclass> |
mappedSuperclass |
protected List<JaxbNamedNativeQuery> |
namedNativeQuery |
protected List<JaxbNamedQuery> |
namedQuery |
protected JaxbPersistenceUnitMetadata |
persistenceUnitMetadata |
protected String |
schema |
protected List<JaxbSequenceGenerator> |
sequenceGenerator |
protected List<JaxbSqlResultSetMapping> |
sqlResultSetMapping |
protected List<JaxbTableGenerator> |
tableGenerator |
protected String |
version |
Constructor and Description |
---|
JaxbEntityMappings() |
Modifier and Type | Method and Description |
---|---|
JaxbAccessType |
getAccess()
Gets the value of the access property.
|
String |
getCatalog()
Gets the value of the catalog property.
|
String |
getDescription()
Gets the value of the description property.
|
List<JaxbEmbeddable> |
getEmbeddable()
Gets the value of the embeddable property.
|
List<JaxbEntity> |
getEntity()
Gets the value of the entity property.
|
List<JaxbMappedSuperclass> |
getMappedSuperclass()
Gets the value of the mappedSuperclass property.
|
List<JaxbNamedNativeQuery> |
getNamedNativeQuery()
Gets the value of the namedNativeQuery property.
|
List<JaxbNamedQuery> |
getNamedQuery()
Gets the value of the namedQuery property.
|
String |
getPackage()
Gets the value of the package property.
|
JaxbPersistenceUnitMetadata |
getPersistenceUnitMetadata()
Gets the value of the persistenceUnitMetadata property.
|
String |
getSchema()
Gets the value of the schema property.
|
List<JaxbSequenceGenerator> |
getSequenceGenerator()
Gets the value of the sequenceGenerator property.
|
List<JaxbSqlResultSetMapping> |
getSqlResultSetMapping()
Gets the value of the sqlResultSetMapping property.
|
List<JaxbTableGenerator> |
getTableGenerator()
Gets the value of the tableGenerator property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setAccess(JaxbAccessType value)
Sets the value of the access property.
|
void |
setCatalog(String value)
Sets the value of the catalog property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setPackage(String value)
Sets the value of the package property.
|
void |
setPersistenceUnitMetadata(JaxbPersistenceUnitMetadata value)
Sets the value of the persistenceUnitMetadata property.
|
void |
setSchema(String value)
Sets the value of the schema property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected String description
protected JaxbPersistenceUnitMetadata persistenceUnitMetadata
protected String _package
protected String schema
protected String catalog
protected JaxbAccessType access
protected List<JaxbSequenceGenerator> sequenceGenerator
protected List<JaxbTableGenerator> tableGenerator
protected List<JaxbNamedQuery> namedQuery
protected List<JaxbNamedNativeQuery> namedNativeQuery
protected List<JaxbSqlResultSetMapping> sqlResultSetMapping
protected List<JaxbMappedSuperclass> mappedSuperclass
protected List<JaxbEntity> entity
protected List<JaxbEmbeddable> embeddable
protected String version
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public JaxbPersistenceUnitMetadata getPersistenceUnitMetadata()
JaxbPersistenceUnitMetadata
public void setPersistenceUnitMetadata(JaxbPersistenceUnitMetadata value)
value
- allowed object is
JaxbPersistenceUnitMetadata
public String getPackage()
String
public void setPackage(String value)
value
- allowed object is
String
public String getSchema()
String
public void setSchema(String value)
value
- allowed object is
String
public String getCatalog()
String
public void setCatalog(String value)
value
- allowed object is
String
public JaxbAccessType getAccess()
JaxbAccessType
public void setAccess(JaxbAccessType value)
value
- allowed object is
JaxbAccessType
public List<JaxbSequenceGenerator> 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
JaxbSequenceGenerator
public List<JaxbTableGenerator> 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
JaxbTableGenerator
public List<JaxbNamedQuery> 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
JaxbNamedQuery
public List<JaxbNamedNativeQuery> 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
JaxbNamedNativeQuery
public List<JaxbSqlResultSetMapping> 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
JaxbSqlResultSetMapping
public List<JaxbMappedSuperclass> 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
JaxbMappedSuperclass
public List<JaxbEntity> 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
JaxbEntity
public List<JaxbEmbeddable> 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
JaxbEmbeddable
public String getVersion()
String
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.