Class PropertyRef
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.PropertyRef
Objects of this class represent a reference to a property via its name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisPropertyRefsetAnnotationElements(List<AnnotationElement> annotationElements) Sets the List ofAnnotationElementfor thisPropertyRefSets the name of thePropertythisPropertyRefis pointing to
-
Constructor Details
-
PropertyRef
public PropertyRef()
-
-
Method Details
-
getName
- Returns:
- String name of the
PropertythisPropertyRefis referencing to
-
getAnnotationAttributes
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- List of
AnnotationElementannotation elements
-
setName
Sets the name of thePropertythisPropertyRefis pointing to- Parameters:
name-- Returns:
PropertyReffor method chaining
-
setAnnotationAttributes
Sets the List ofAnnotationAttributefor thisPropertyRef- Parameters:
annotationAttributes-- Returns:
PropertyReffor method chaining
-
setAnnotationElements
Sets the List ofAnnotationElementfor thisPropertyRef- Parameters:
annotationElements-- Returns:
PropertyReffor method chaining
-