Package org.oasisopen.odata.csdl.v4
Class TAnnotations
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TAnnotations
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Annotation>annotationprotected Stringqualifierprotected Stringtarget
-
Constructor Summary
Constructors Constructor Description TAnnotations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Annotation>getAnnotation()Gets the value of the annotation property.StringgetQualifier()Gets the value of the qualifier property.StringgetTarget()Gets the value of the target property.voidsetQualifier(String value)Sets the value of the qualifier property.voidsetTarget(String value)Sets the value of the target property.
-
-
-
Field Detail
-
annotation
protected List<Annotation> annotation
-
target
protected String target
-
qualifier
protected String qualifier
-
-
Method Detail
-
getAnnotation
public List<Annotation> getAnnotation()
Gets the value of the annotation property.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
setmethod 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
-
getTarget
public String getTarget()
Gets the value of the target property.- Returns:
- possible object is
String
-
setTarget
public void setTarget(String value)
Sets the value of the target property.- Parameters:
value- allowed object isString
-
getQualifier
public String getQualifier()
Gets the value of the qualifier property.- Returns:
- possible object is
String
-
-