public class TIfExpression extends Object
Java class for TIfExpression complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TIfExpression">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://docs.oasis-open.org/odata/ns/edm}GExpression" maxOccurs="3" minOccurs="2"/>
<element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
TIfExpression() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getContent()
Gets the rest of the content model.
|
public List<Object> getContent()
You are getting this "catch-all" property because of the following reason: The field name "Annotation" is used by two different parts of a schema. See: line 837 of file:/home/ubuntu/workspace/odata-client/target/checkout/odata-client-generator/src/main/xsd/edm.xsd line 831 of file:/home/ubuntu/workspace/odata-client/target/checkout/odata-client-generator/src/main/xsd/edm.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
JAXBElement<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>
Copyright © 2018–2020. All rights reserved.