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 Details

  • Constructor Details

    • JPAPersistenceUnitMapType

      public JPAPersistenceUnitMapType()
  • Method Details

    • 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 is String
    • 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 is JPAEntityTypesMapType
    • 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 is JPAEmbeddableTypesMapType
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String