Class JPAPersistenceUnitMapType
java.lang.Object
org.apache.olingo.odata2.jpa.processor.api.model.mapping.JPAPersistenceUnitMapType
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected JPAEmbeddableTypesMapTypeprotected JPAEntityTypesMapTypeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the edmSchemaNamespace property.Gets the value of the jpaEmbeddableTypes property.Gets the value of the jpaEntityTypes property.getName()Gets the value of the name property.voidsetEDMSchemaNamespace(String value) Sets the value of the edmSchemaNamespace property.voidSets the value of the jpaEmbeddableTypes property.voidSets the value of the jpaEntityTypes property.voidSets the value of the name property.
-
Field Details
-
edmSchemaNamespace
-
jpaEntityTypes
-
jpaEmbeddableTypes
-
name
-
-
Constructor Details
-
JPAPersistenceUnitMapType
public JPAPersistenceUnitMapType()
-
-
Method Details
-
getEDMSchemaNamespace
Gets the value of the edmSchemaNamespace property.- Returns:
- possible object is
String
-
setEDMSchemaNamespace
Sets the value of the edmSchemaNamespace property.- Parameters:
value- allowed object isString
-
getJPAEntityTypes
Gets the value of the jpaEntityTypes property.- Returns:
- possible object is
JPAEntityTypesMapType
-
setJPAEntityTypes
Sets the value of the jpaEntityTypes property.- Parameters:
value- allowed object isJPAEntityTypesMapType
-
getJPAEmbeddableTypes
Gets the value of the jpaEmbeddableTypes property.- Returns:
- possible object is
JPAEmbeddableTypesMapType
-
setJPAEmbeddableTypes
Sets the value of the jpaEmbeddableTypes property.- Parameters:
value- allowed object isJPAEmbeddableTypesMapType
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-