Class CsdlLabeledElement
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.CsdlLabeledElement
- All Implemented Interfaces:
CsdlAnnotatable
The edm:LabeledElement expression assigns a name to a child expression. The value of the child expression can
then be reused elsewhere with an edm:LabeledElementReference (See
CsdlLabeledElementReference) expression.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a list of annotationsgetName()Returns the assigned namegetValue()Returns the child expressioninthashCode()setAnnotations(List<CsdlAnnotation> annotations) 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, isUrlRefMethods inherited from class org.apache.olingo.commons.api.edm.provider.annotation.CsdlExpression
asConstant, asDynamic, isConstant, isDynamicMethods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlLabeledElement
public CsdlLabeledElement()
-
-
Method Details
-
getAnnotations
Description copied from interface:CsdlAnnotatableReturns a list of annotations- Specified by:
getAnnotationsin interfaceCsdlAnnotatable- Returns:
- list of annotations
-
setAnnotations
-
getName
Returns the assigned name- Returns:
- assigned name
-
setName
-
getValue
Returns the child expression- Returns:
- child expression
-
setValue
-
equals
-
hashCode
public int hashCode()
-