Class JPAPersistenceUnitMapType
- java.lang.Object
-
- org.apache.olingo.odata2.jpa.processor.api.model.mapping.JPAPersistenceUnitMapType
-
public class JPAPersistenceUnitMapType extends Object
By default Java Persistence Unit name is taken as EDM schema name. This can be overriden using JPAPersistenceUnitMapType.Java class for JPAPersistenceUnitMapType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="JPAPersistenceUnitMapType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="EDMSchemaNamespace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="JPAEntityTypes" type="{http://www.apache.org/olingo/odata2/jpa/processor/api/model/mapping}JPAEntityTypesMapType"/> <element name="JPAEmbeddableTypes" type="{http://www.apache.org/olingo/odata2/jpa/processor/api/model/mapping}JPAEmbeddableTypesMapType"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringedmSchemaNamespaceprotected JPAEmbeddableTypesMapTypejpaEmbeddableTypesprotected JPAEntityTypesMapTypejpaEntityTypesprotected Stringname
-
Constructor Summary
Constructors Constructor Description JPAPersistenceUnitMapType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEDMSchemaNamespace()Gets the value of the edmSchemaNamespace property.JPAEmbeddableTypesMapTypegetJPAEmbeddableTypes()Gets the value of the jpaEmbeddableTypes property.JPAEntityTypesMapTypegetJPAEntityTypes()Gets the value of the jpaEntityTypes property.StringgetName()Gets the value of the name property.voidsetEDMSchemaNamespace(String value)Sets the value of the edmSchemaNamespace property.voidsetJPAEmbeddableTypes(JPAEmbeddableTypesMapType value)Sets the value of the jpaEmbeddableTypes property.voidsetJPAEntityTypes(JPAEntityTypesMapType value)Sets the value of the jpaEntityTypes property.voidsetName(String value)Sets the value of the name property.
-
-
-
Field Detail
-
edmSchemaNamespace
protected String edmSchemaNamespace
-
jpaEntityTypes
protected JPAEntityTypesMapType jpaEntityTypes
-
jpaEmbeddableTypes
protected JPAEmbeddableTypesMapType jpaEmbeddableTypes
-
name
protected String name
-
-
Method Detail
-
getEDMSchemaNamespace
public String getEDMSchemaNamespace()
Gets the value of the edmSchemaNamespace property.- Returns:
- possible object is
String
-
setEDMSchemaNamespace
public void setEDMSchemaNamespace(String value)
Sets the value of the edmSchemaNamespace property.- Parameters:
value- allowed object isString
-
getJPAEntityTypes
public JPAEntityTypesMapType getJPAEntityTypes()
Gets the value of the jpaEntityTypes property.- Returns:
- possible object is
JPAEntityTypesMapType
-
setJPAEntityTypes
public void setJPAEntityTypes(JPAEntityTypesMapType value)
Sets the value of the jpaEntityTypes property.- Parameters:
value- allowed object isJPAEntityTypesMapType
-
getJPAEmbeddableTypes
public JPAEmbeddableTypesMapType getJPAEmbeddableTypes()
Gets the value of the jpaEmbeddableTypes property.- Returns:
- possible object is
JPAEmbeddableTypesMapType
-
setJPAEmbeddableTypes
public void setJPAEmbeddableTypes(JPAEmbeddableTypesMapType value)
Sets the value of the jpaEmbeddableTypes property.- Parameters:
value- allowed object isJPAEmbeddableTypesMapType
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
-