Class JPARelationshipMapType
java.lang.Object
org.apache.olingo.odata2.jpa.processor.api.model.mapping.JPARelationshipMapType
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the jpaRelationship property.
-
Field Details
-
jpaRelationship
-
-
Constructor Details
-
JPARelationshipMapType
public JPARelationshipMapType()
-
-
Method Details
-
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
setmethod 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
-