Class AnnotationElement
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.AnnotationElement
Objects of this class represent an annotation element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getText()setAttributes(List<AnnotationAttribute> attributes) Sets the attributes for thisAnnotationElement.setChildElements(List<AnnotationElement> childElements) Sets the child elements for thisAnnotationElement.Sets the name for thisAnnotationElement.setNamespace(String namespace) Sets the namespace for thisAnnotationElement.Sets the prefix for thisAnnotationElement.Sets the text for thisAnnotationElementwhich will be displayed inside the tags.
-
Constructor Details
-
AnnotationElement
public AnnotationElement()
-
-
Method Details
-
getNamespace
-
getPrefix
-
getName
-
getText
-
getChildElements
-
getAttributes
-
setAttributes
Sets the attributes for thisAnnotationElement.- Parameters:
attributes-- Returns:
AnnotationElementfor method chaining
-
setChildElements
Sets the child elements for thisAnnotationElement. Does not set child elements and characterData for one element.- Parameters:
childElements-- Returns:
AnnotationElementfor method chaining
-
setNamespace
Sets the namespace for thisAnnotationElement.- Parameters:
namespace-- Returns:
AnnotationElementfor method chaining
-
setPrefix
Sets the prefix for thisAnnotationElement.- Parameters:
prefix-- Returns:
AnnotationElementfor method chaining
-
setName
Sets the name for thisAnnotationElement.- Parameters:
name-- Returns:
AnnotationElementfor method chaining
-
setText
Sets the text for thisAnnotationElementwhich will be displayed inside the tags. Must NOT be set if child elements are set!- Parameters:
text-- Returns:
AnnotationElementfor method chaining
-