public class TAnnotations extends Object
Java class for TAnnotations complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TAnnotations">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded"/>
</sequence>
<attribute name="Target" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TPath" />
<attribute name="Qualifier" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Annotation> |
annotation |
protected String |
qualifier |
protected String |
target |
| Constructor and Description |
|---|
TAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
getAnnotation()
Gets the value of the annotation property.
|
String |
getQualifier()
Gets the value of the qualifier property.
|
String |
getTarget()
Gets the value of the target property.
|
void |
setQualifier(String value)
Sets the value of the qualifier property.
|
void |
setTarget(String value)
Sets the value of the target property.
|
protected List<Annotation> annotation
protected String target
protected String qualifier
public List<Annotation> getAnnotation()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the annotation property.
For example, to add a new item, do as follows:
getAnnotation().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public String getTarget()
Stringpublic void setTarget(String value)
value - allowed object is
Stringpublic String getQualifier()
StringCopyright © 2018–2020. All rights reserved.