Class JPAEntityTypeMapType
java.lang.Object
org.apache.olingo.odata2.jpa.processor.api.model.mapping.JPAEntityTypeMapType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Booleanprotected JPAAttributeMapTypeprotected JPARelationshipMapTypeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the edmEntitySet property.Gets the value of the edmEntityType property.Gets the value of the jpaAttributes property.Gets the value of the jpaRelationships property.getName()Gets the value of the name property.booleanGets the value of the exclude property.voidsetEDMEntitySet(String value) Sets the value of the edmEntitySet property.voidsetEDMEntityType(String value) Sets the value of the edmEntityType property.voidsetExclude(Boolean value) Sets the value of the exclude property.voidSets the value of the jpaAttributes property.voidSets the value of the jpaRelationships property.voidSets the value of the name property.
-
Field Details
-
edmEntityType
-
edmEntitySet
-
jpaAttributes
-
jpaRelationships
-
name
-
exclude
-
-
Constructor Details
-
JPAEntityTypeMapType
public JPAEntityTypeMapType()
-
-
Method Details
-
getEDMEntityType
Gets the value of the edmEntityType property.- Returns:
- possible object is
String
-
setEDMEntityType
Sets the value of the edmEntityType property.- Parameters:
value- allowed object isString
-
getEDMEntitySet
Gets the value of the edmEntitySet property.- Returns:
- possible object is
String
-
setEDMEntitySet
Sets the value of the edmEntitySet property.- Parameters:
value- allowed object isString
-
getJPAAttributes
Gets the value of the jpaAttributes property.- Returns:
- possible object is
JPAAttributeMapType
-
setJPAAttributes
Sets the value of the jpaAttributes property.- Parameters:
value- allowed object isJPAAttributeMapType
-
getJPARelationships
Gets the value of the jpaRelationships property.- Returns:
- possible object is
JPARelationshipMapType
-
setJPARelationships
Sets the value of the jpaRelationships property.- Parameters:
value- allowed object isJPARelationshipMapType
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isExclude
public boolean isExclude()Gets the value of the exclude property.- Returns:
- possible object is
Boolean
-
setExclude
Sets the value of the exclude property.- Parameters:
value- allowed object isBoolean
-