Class Annotation
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.Annotation
-
public class Annotation extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/> <group ref="{http://docs.oasis-open.org/odata/ns/edm}GExpression"/> </choice> <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}GInlineExpressions"/> <attribute name="Term" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TQualifiedName" /> <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 Double_floatprotected BigInteger_intprotected List<Object>annotationOrBinaryOrBoolprotected StringannotationPathprotected Stringbinaryprotected Booleanboolprotected XMLGregorianCalendardateprotected XMLGregorianCalendardateTimeOffsetprotected Stringdecimalprotected Durationdurationprotected List<String>enumMemberprotected Stringguidprotected StringmodelElementPathprotected StringnavigationPropertyPathprotected Stringpathprotected StringpropertyPathprotected Stringqualifierprotected Stringstringprotected Stringtermprotected XMLGregorianCalendartimeOfDayprotected StringurlRef
-
Constructor Summary
Constructors Constructor Description Annotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getAnnotationOrBinaryOrBool()Gets the value of the annotationOrBinaryOrBool property.StringgetAnnotationPath()Gets the value of the annotationPath property.StringgetBinary()Gets the value of the binary property.XMLGregorianCalendargetDate()Gets the value of the date property.XMLGregorianCalendargetDateTimeOffset()Gets the value of the dateTimeOffset property.StringgetDecimal()Gets the value of the decimal property.DurationgetDuration()Gets the value of the duration property.List<String>getEnumMember()Gets the value of the enumMember property.DoublegetFloat()Gets the value of the float property.StringgetGuid()Gets the value of the guid property.BigIntegergetInt()Gets the value of the int property.StringgetModelElementPath()Gets the value of the modelElementPath property.StringgetNavigationPropertyPath()Gets the value of the navigationPropertyPath property.StringgetPath()Gets the value of the path property.StringgetPropertyPath()Gets the value of the propertyPath property.StringgetQualifier()Gets the value of the qualifier property.StringgetString()Gets the value of the string property.StringgetTerm()Gets the value of the term property.XMLGregorianCalendargetTimeOfDay()Gets the value of the timeOfDay property.StringgetUrlRef()Gets the value of the urlRef property.BooleanisBool()Gets the value of the bool property.voidsetAnnotationPath(String value)Sets the value of the annotationPath property.voidsetBinary(String value)Sets the value of the binary property.voidsetBool(Boolean value)Sets the value of the bool property.voidsetDate(XMLGregorianCalendar value)Sets the value of the date property.voidsetDateTimeOffset(XMLGregorianCalendar value)Sets the value of the dateTimeOffset property.voidsetDecimal(String value)Sets the value of the decimal property.voidsetDuration(Duration value)Sets the value of the duration property.voidsetFloat(Double value)Sets the value of the float property.voidsetGuid(String value)Sets the value of the guid property.voidsetInt(BigInteger value)Sets the value of the int property.voidsetModelElementPath(String value)Sets the value of the modelElementPath property.voidsetNavigationPropertyPath(String value)Sets the value of the navigationPropertyPath property.voidsetPath(String value)Sets the value of the path property.voidsetPropertyPath(String value)Sets the value of the propertyPath property.voidsetQualifier(String value)Sets the value of the qualifier property.voidsetString(String value)Sets the value of the string property.voidsetTerm(String value)Sets the value of the term property.voidsetTimeOfDay(XMLGregorianCalendar value)Sets the value of the timeOfDay property.voidsetUrlRef(String value)Sets the value of the urlRef property.
-
-
-
Field Detail
-
term
protected String term
-
qualifier
protected String qualifier
-
binary
protected String binary
-
bool
protected Boolean bool
-
date
protected XMLGregorianCalendar date
-
dateTimeOffset
protected XMLGregorianCalendar dateTimeOffset
-
decimal
protected String decimal
-
duration
protected Duration duration
-
_float
protected Double _float
-
guid
protected String guid
-
_int
protected BigInteger _int
-
string
protected String string
-
timeOfDay
protected XMLGregorianCalendar timeOfDay
-
annotationPath
protected String annotationPath
-
modelElementPath
protected String modelElementPath
-
navigationPropertyPath
protected String navigationPropertyPath
-
path
protected String path
-
propertyPath
protected String propertyPath
-
urlRef
protected String urlRef
-
-
Method Detail
-
getAnnotationOrBinaryOrBool
public List<Object> getAnnotationOrBinaryOrBool()
Gets the value of the annotationOrBinaryOrBool 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 annotationOrBinaryOrBool property.For example, to add a new item, do as follows:
getAnnotationOrBinaryOrBool().add(newItem);Objects of the following type(s) are allowed in the list
AnnotationJAXBElement<TBinaryConstantExpression>JAXBElement<TBoolConstantExpression>JAXBElement<TDateConstantExpression>JAXBElement<TDateTimeOffsetConstantExpression>JAXBElement<TDecimalConstantExpression>JAXBElement<TDurationConstantExpression>JAXBElement<List<String>>JAXBElement<TFloatConstantExpression>JAXBElement<TGuidConstantExpression>JAXBElement<TIntConstantExpression>JAXBElement<TStringConstantExpression>JAXBElement<TTimeOfDayConstantExpression>JAXBElement<TModelPathExpression>JAXBElement<TApplyExpression>JAXBElement<TCastOrIsOfExpression>JAXBElement<TCollectionExpression>JAXBElement<TIfExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TOneChildExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TOneChildExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TTwoChildrenExpression>JAXBElement<TCastOrIsOfExpression>JAXBElement<TLabeledElementExpression>JAXBElement<TLabeledElementReferenceExpression>JAXBElement<TNullExpression>JAXBElement<TModelPathExpression>JAXBElement<TModelPathExpression>JAXBElement<TPathExpression>JAXBElement<TModelPathExpression>JAXBElement<TRecordExpression>JAXBElement<TOneChildExpression>
-
getTerm
public String getTerm()
Gets the value of the term property.- Returns:
- possible object is
String
-
setTerm
public void setTerm(String value)
Sets the value of the term property.- Parameters:
value- allowed object isString
-
getQualifier
public String getQualifier()
Gets the value of the qualifier property.- Returns:
- possible object is
String
-
setQualifier
public void setQualifier(String value)
Sets the value of the qualifier property.- Parameters:
value- allowed object isString
-
getBinary
public String getBinary()
Gets the value of the binary property.- Returns:
- possible object is
String
-
setBinary
public void setBinary(String value)
Sets the value of the binary property.- Parameters:
value- allowed object isString
-
isBool
public Boolean isBool()
Gets the value of the bool property.- Returns:
- possible object is
Boolean
-
setBool
public void setBool(Boolean value)
Sets the value of the bool property.- Parameters:
value- allowed object isBoolean
-
getDate
public XMLGregorianCalendar getDate()
Gets the value of the date property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDate
public void setDate(XMLGregorianCalendar value)
Sets the value of the date property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getDateTimeOffset
public XMLGregorianCalendar getDateTimeOffset()
Gets the value of the dateTimeOffset property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDateTimeOffset
public void setDateTimeOffset(XMLGregorianCalendar value)
Sets the value of the dateTimeOffset property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getDecimal
public String getDecimal()
Gets the value of the decimal property.- Returns:
- possible object is
String
-
setDecimal
public void setDecimal(String value)
Sets the value of the decimal property.- Parameters:
value- allowed object isString
-
getDuration
public Duration getDuration()
Gets the value of the duration property.- Returns:
- possible object is
Duration
-
setDuration
public void setDuration(Duration value)
Sets the value of the duration property.- Parameters:
value- allowed object isDuration
-
getEnumMember
public List<String> getEnumMember()
Gets the value of the enumMember 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 enumMember property.For example, to add a new item, do as follows:
getEnumMember().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getFloat
public Double getFloat()
Gets the value of the float property.- Returns:
- possible object is
Double
-
setFloat
public void setFloat(Double value)
Sets the value of the float property.- Parameters:
value- allowed object isDouble
-
getGuid
public String getGuid()
Gets the value of the guid property.- Returns:
- possible object is
String
-
setGuid
public void setGuid(String value)
Sets the value of the guid property.- Parameters:
value- allowed object isString
-
getInt
public BigInteger getInt()
Gets the value of the int property.- Returns:
- possible object is
BigInteger
-
setInt
public void setInt(BigInteger value)
Sets the value of the int property.- Parameters:
value- allowed object isBigInteger
-
getString
public String getString()
Gets the value of the string property.- Returns:
- possible object is
String
-
setString
public void setString(String value)
Sets the value of the string property.- Parameters:
value- allowed object isString
-
getTimeOfDay
public XMLGregorianCalendar getTimeOfDay()
Gets the value of the timeOfDay property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimeOfDay
public void setTimeOfDay(XMLGregorianCalendar value)
Sets the value of the timeOfDay property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getAnnotationPath
public String getAnnotationPath()
Gets the value of the annotationPath property.- Returns:
- possible object is
String
-
setAnnotationPath
public void setAnnotationPath(String value)
Sets the value of the annotationPath property.- Parameters:
value- allowed object isString
-
getModelElementPath
public String getModelElementPath()
Gets the value of the modelElementPath property.- Returns:
- possible object is
String
-
setModelElementPath
public void setModelElementPath(String value)
Sets the value of the modelElementPath property.- Parameters:
value- allowed object isString
-
getNavigationPropertyPath
public String getNavigationPropertyPath()
Gets the value of the navigationPropertyPath property.- Returns:
- possible object is
String
-
setNavigationPropertyPath
public void setNavigationPropertyPath(String value)
Sets the value of the navigationPropertyPath property.- Parameters:
value- allowed object isString
-
getPath
public String getPath()
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Sets the value of the path property.- Parameters:
value- allowed object isString
-
getPropertyPath
public String getPropertyPath()
Gets the value of the propertyPath property.- Returns:
- possible object is
String
-
setPropertyPath
public void setPropertyPath(String value)
Sets the value of the propertyPath property.- Parameters:
value- allowed object isString
-
getUrlRef
public String getUrlRef()
Gets the value of the urlRef property.- Returns:
- possible object is
String
-
-