Class CsdlLogicalOrComparisonExpression
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.annotation.CsdlExpression
org.apache.olingo.commons.api.edm.provider.annotation.CsdlDynamicExpression
org.apache.olingo.commons.api.edm.provider.annotation.CsdlLogicalOrComparisonExpression
- All Implemented Interfaces:
CsdlAnnotatable
public class CsdlLogicalOrComparisonExpression
extends CsdlDynamicExpression
implements CsdlAnnotatable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type of the constant expression -
Constructor Summary
ConstructorDescriptionCsdlLogicalOrComparisonExpression
(CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType type) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns a list of annotationsgetLeft()
The left expression.getRight()
The right expression.getType()
Returns the type of the logical expressionint
hashCode()
setAnnotations
(List<CsdlAnnotation> annotations) setLeft
(CsdlExpression left) setRight
(CsdlExpression right) Methods inherited from class org.apache.olingo.commons.api.edm.provider.annotation.CsdlDynamicExpression
asAnnotationPath, asApply, asCast, asCollection, asIf, asIsOf, asLabeledElement, asLabeledElementReference, asLogicalOrComparison, asNavigationPropertyPath, asNull, asPath, asPropertyPath, asRecord, asUrlRef, isAnnotationPath, isApply, isCast, isCollection, isIf, isIsOf, isLabeledElement, isLabeledElementReference, isLogicalOrComparison, isNavigationPropertyPath, isNull, isPath, isPropertyPath, isRecord, isUrlRef
Methods inherited from class org.apache.olingo.commons.api.edm.provider.annotation.CsdlExpression
asConstant, asDynamic, isConstant, isDynamic
Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlLogicalOrComparisonExpression
public CsdlLogicalOrComparisonExpression(CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType type)
-
-
Method Details
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
setAnnotations
-
getType
Returns the type of the logical expression- Returns:
- type of the logical expression
-
getLeft
The left expression. In case this is of type Edm.Not the left expression will be the same as the right expression.- Returns:
- The left expression.
-
setLeft
-
getRight
The right expression. In case this is of type Edm.Not the left expression will be the same as the right expression.- Returns:
- The right expression.
-
setRight
-
equals
-
hashCode
public int hashCode()
-