Class JPAEntityTypeMapType

java.lang.Object
org.apache.olingo.odata2.jpa.processor.api.model.mapping.JPAEntityTypeMapType

public class JPAEntityTypeMapType extends Object
The default name for EDM entity type is derived from JPA entity type name. This can be overriden using JPAEntityTypeMapType.

Java class for JPAEntityTypeMapType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="JPAEntityTypeMapType">
 <complexContent>
 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 <sequence>
 <element name="EDMEntityType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 <element name="EDMEntitySet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 <element name="JPAAttributes"
 type="{http://www.apache.org/olingo/odata2/jpa/processor/api/model/mapping}JPAAttributeMapType"/>
 <element name="JPARelationships"
 type="{http://www.apache.org/olingo/odata2/jpa/processor/api/model/mapping}JPARelationshipMapType"/>
 </sequence>
 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 <attribute name="exclude" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 </restriction>
 </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • JPAEntityTypeMapType

      public JPAEntityTypeMapType()
  • Method Details

    • getEDMEntityType

      public String getEDMEntityType()
      Gets the value of the edmEntityType property.
      Returns:
      possible object is String
    • setEDMEntityType

      public void setEDMEntityType(String value)
      Sets the value of the edmEntityType property.
      Parameters:
      value - allowed object is String
    • getEDMEntitySet

      public String getEDMEntitySet()
      Gets the value of the edmEntitySet property.
      Returns:
      possible object is String
    • setEDMEntitySet

      public void setEDMEntitySet(String value)
      Sets the value of the edmEntitySet property.
      Parameters:
      value - allowed object is String
    • getJPAAttributes

      public JPAAttributeMapType getJPAAttributes()
      Gets the value of the jpaAttributes property.
      Returns:
      possible object is JPAAttributeMapType
    • setJPAAttributes

      public void setJPAAttributes(JPAAttributeMapType value)
      Sets the value of the jpaAttributes property.
      Parameters:
      value - allowed object is JPAAttributeMapType
    • getJPARelationships

      public JPARelationshipMapType getJPARelationships()
      Gets the value of the jpaRelationships property.
      Returns:
      possible object is JPARelationshipMapType
    • setJPARelationships

      public void setJPARelationships(JPARelationshipMapType value)
      Sets the value of the jpaRelationships property.
      Parameters:
      value - allowed object is JPARelationshipMapType
    • 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
    • isExclude

      public boolean isExclude()
      Gets the value of the exclude property.
      Returns:
      possible object is Boolean
    • setExclude

      public void setExclude(Boolean value)
      Sets the value of the exclude property.
      Parameters:
      value - allowed object is Boolean