Class CsdlIsOf
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.CsdlIsOf
- All Implemented Interfaces:
CsdlAnnotatable
The edm:IsOf expression evaluates a child expression and returns a Boolean value indicating whether
the child expression returns the specified type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns a list of annotationsFacet MaxLengthFacet PrecisiongetScale()
Facet ScalegetSrid()
Facet SRIDgetType()
The type which is checked again the child expressiongetValue()
Returns the child expressionint
hashCode()
setAnnotations
(List<CsdlAnnotation> annotations) setMaxLength
(Integer maxLength) setPrecision
(Integer precision) setValue
(CsdlExpression value) 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
-
CsdlIsOf
public CsdlIsOf()
-
-
Method Details
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
setAnnotations
-
getType
The type which is checked again the child expression- Returns:
- EdmType type
-
setType
-
getMaxLength
Facet MaxLength- Returns:
- fact MaxLength
-
setMaxLength
-
getPrecision
Facet Precision- Returns:
- fact Precision
-
setPrecision
-
getScale
Facet Scale- Returns:
- facet Scale
-
setScale
-
getSrid
Facet SRID- Returns:
- facet SRID
-
setSrid
-
getValue
Returns the child expression- Returns:
- Returns the child expression
-
setValue
-
equals
-
hashCode
public int hashCode()
-