Class JPALiteralOperator
java.lang.Object
com.sap.olingo.jpa.processor.core.filter.JPALiteralOperator
- All Implemented Interfaces:
JPAOperator,JPAPrimitiveTypeOperator
-
Constructor Summary
ConstructorsConstructorDescriptionJPALiteralOperator(org.apache.olingo.server.api.OData odata, org.apache.olingo.server.api.uri.queryoption.expression.Literal literal) -
Method Summary
Modifier and TypeMethodDescriptionget()get(com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAAttribute attribute)Converts a literal value into system type of attributeget(com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAOperationResultParameter returnType)get(com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAParameter jpaParameter)getName()booleanisNull()
-
Constructor Details
-
JPALiteralOperator
public JPALiteralOperator(org.apache.olingo.server.api.OData odata, org.apache.olingo.server.api.uri.queryoption.expression.Literal literal)
-
-
Method Details
-
get
- Specified by:
getin interfaceJPAOperator- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
get
public Object get(com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAAttribute attribute) throws org.apache.olingo.server.api.ODataApplicationExceptionConverts a literal value into system type of attribute- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
get
public Object get(com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAOperationResultParameter returnType) throws org.apache.olingo.server.api.ODataApplicationException- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
get
public Object get(com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAParameter jpaParameter) throws org.apache.olingo.server.api.ODataApplicationException- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
isNull
public boolean isNull()- Specified by:
isNullin interfaceJPAPrimitiveTypeOperator
-
getName
- Specified by:
getNamein interfaceJPAOperator
-