|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.olingo.odata2.api.edm.provider.AnnotationElement
public class AnnotationElement
Objects of this class represent an annotation element.
Constructor Summary | |
---|---|
AnnotationElement()
|
Method Summary | |
---|---|
List<AnnotationAttribute> |
getAttributes()
|
List<AnnotationElement> |
getChildElements()
|
String |
getName()
|
String |
getNamespace()
|
String |
getPrefix()
|
String |
getText()
|
AnnotationElement |
setAttributes(List<AnnotationAttribute> attributes)
Sets the attributes for this AnnotationElement . |
AnnotationElement |
setChildElements(List<AnnotationElement> childElements)
Sets the child elements for this AnnotationElement . |
AnnotationElement |
setName(String name)
Sets the name for this AnnotationElement . |
AnnotationElement |
setNamespace(String namespace)
Sets the namespace for this AnnotationElement . |
AnnotationElement |
setPrefix(String prefix)
Sets the prefix for this AnnotationElement . |
AnnotationElement |
setText(String text)
Sets the text for this AnnotationElement which will be displayed inside the tags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationElement()
Method Detail |
---|
public String getNamespace()
public String getPrefix()
public String getName()
public String getText()
public List<AnnotationElement> getChildElements()
public List<AnnotationAttribute> getAttributes()
public AnnotationElement setAttributes(List<AnnotationAttribute> attributes)
AnnotationElement
.
attributes
-
AnnotationElement
for method chainingpublic AnnotationElement setChildElements(List<AnnotationElement> childElements)
AnnotationElement
.
Does not set child elements and characterData for one element.
childElements
-
AnnotationElement
for method chainingpublic AnnotationElement setNamespace(String namespace)
AnnotationElement
.
namespace
-
AnnotationElement
for method chainingpublic AnnotationElement setPrefix(String prefix)
AnnotationElement
.
prefix
-
AnnotationElement
for method chainingpublic AnnotationElement setName(String name)
AnnotationElement
.
name
-
AnnotationElement
for method chainingpublic AnnotationElement setText(String text)
AnnotationElement
which will be displayed inside the tags.
Must NOT be set if child elements are set!
text
-
AnnotationElement
for method chaining
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |