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 Summary
Fields Modifier and Type Field Description protected StringedmEntitySetprotected StringedmEntityTypeprotected Booleanexcludeprotected JPAAttributeMapTypejpaAttributesprotected JPARelationshipMapTypejpaRelationshipsprotected Stringname
-
Constructor Summary
Constructors Constructor Description JPAEntityTypeMapType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEDMEntitySet()Gets the value of the edmEntitySet property.StringgetEDMEntityType()Gets the value of the edmEntityType property.JPAAttributeMapTypegetJPAAttributes()Gets the value of the jpaAttributes property.JPARelationshipMapTypegetJPARelationships()Gets the value of the jpaRelationships property.StringgetName()Gets the value of the name property.booleanisExclude()Gets 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.voidsetJPAAttributes(JPAAttributeMapType value)Sets the value of the jpaAttributes property.voidsetJPARelationships(JPARelationshipMapType value)Sets the value of the jpaRelationships property.voidsetName(String value)Sets the value of the name property.
-
-
-
Field Detail
-
edmEntityType
protected String edmEntityType
-
edmEntitySet
protected String edmEntitySet
-
jpaAttributes
protected JPAAttributeMapType jpaAttributes
-
jpaRelationships
protected JPARelationshipMapType jpaRelationships
-
name
protected String name
-
exclude
protected Boolean exclude
-
-
Method Detail
-
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 isString
-
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 isString
-
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 isJPAAttributeMapType
-
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 isJPARelationshipMapType
-
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 isString
-
isExclude
public boolean isExclude()
Gets the value of the exclude property.- Returns:
- possible object is
Boolean
-
-