Class 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>
     
    • Constructor Detail

      • JPAPersistenceUnitMapType

        public JPAPersistenceUnitMapType()
    • 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 is String
      • 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