Class PropertyRef
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.PropertyRef
-
public class PropertyRef extends Object
Objects of this class represent a reference to a property via its name
-
-
Constructor Summary
Constructors Constructor Description PropertyRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnnotationAttribute>getAnnotationAttributes()List<AnnotationElement>getAnnotationElements()StringgetName()PropertyRefsetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)Sets the List ofAnnotationAttributefor thisPropertyRefPropertyRefsetAnnotationElements(List<AnnotationElement> annotationElements)Sets the List ofAnnotationElementfor thisPropertyRefPropertyRefsetName(String name)Sets the name of thePropertythisPropertyRefis pointing to
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- String name of the
PropertythisPropertyRefis referencing to
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- List of
AnnotationElementannotation elements
-
setName
public PropertyRef setName(String name)
Sets the name of thePropertythisPropertyRefis pointing to- Parameters:
name- Nome- Returns:
PropertyReffor method chaining
-
setAnnotationAttributes
public PropertyRef setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the List ofAnnotationAttributefor thisPropertyRef- Parameters:
annotationAttributes- Atributos- Returns:
PropertyReffor method chaining
-
setAnnotationElements
public PropertyRef setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the List ofAnnotationElementfor thisPropertyRef- Parameters:
annotationElements- Elementos- Returns:
PropertyReffor method chaining
-
-