Class JPARelationshipMapType

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

public class JPARelationshipMapType extends Object
The default name for EDM navigation property is derived from JPA relationship name. This can be overriden using JPARelationshipMapType.

Java class for JPARelationshipMapType complex type.

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

 <complexType name="JPARelationshipMapType">
 <complexContent>
 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 <sequence>
 <element name="JPARelationship" maxOccurs="unbounded" minOccurs="0">
 <complexType>
 <simpleContent>
 <extension base="<http://www.w3.org/2001/XMLSchema>string">
 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 </extension>
 </simpleContent>
 </complexType>
 </element>
 </sequence>
 </restriction>
 </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • JPARelationshipMapType

      public JPARelationshipMapType()
  • Method Details

    • getJPARelationship

      public List<JPARelationshipMapType.JPARelationship> getJPARelationship()
      Gets the value of the jpaRelationship property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the jpaRelationship property.

      For example, to add a new item, do as follows:

       getJPARelationship().add(newItem);
       

      Objects of the following type(s) are allowed in the list JPARelationshipMapType.JPARelationship

      Returns:
      Lista