public class TCastOrIsOfExpression extends Object
Java class for TCastOrIsOfExpression complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TCastOrIsOfExpression">
<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"/>
<element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TFacetAttributes"/>
<attribute name="Type" type="{http://docs.oasis-open.org/odata/ns/edm}TTypeName" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
content |
protected String |
maxLength |
protected BigInteger |
precision |
protected String |
scale |
protected String |
srid |
protected List<String> |
type |
protected Boolean |
unicode |
| Constructor and Description |
|---|
TCastOrIsOfExpression() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getContent()
Gets the rest of the content model.
|
String |
getMaxLength()
Gets the value of the maxLength property.
|
BigInteger |
getPrecision()
Gets the value of the precision property.
|
String |
getScale()
Gets the value of the scale property.
|
String |
getSRID()
Gets the value of the srid property.
|
List<String> |
getType()
Gets the value of the type property.
|
Boolean |
isUnicode()
Gets the value of the unicode property.
|
void |
setMaxLength(String value)
Sets the value of the maxLength property.
|
void |
setPrecision(BigInteger value)
Sets the value of the precision property.
|
void |
setScale(String value)
Sets the value of the scale property.
|
void |
setSRID(String value)
Sets the value of the srid property.
|
void |
setUnicode(Boolean value)
Sets the value of the unicode property.
|
protected String maxLength
protected BigInteger precision
protected String scale
protected String srid
protected Boolean unicode
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 807 of file:/home/ubuntu/workspace/odata-client/target/checkout/odata-client-generator/src/main/xsd/edm.xsd line 803 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>
public List<String> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getMaxLength()
Stringpublic void setMaxLength(String value)
value - allowed object is
Stringpublic BigInteger getPrecision()
BigIntegerpublic void setPrecision(BigInteger value)
value - allowed object is
BigIntegerpublic String getScale()
Stringpublic void setScale(String value)
value - allowed object is
Stringpublic String getSRID()
Stringpublic void setSRID(String value)
value - allowed object is
Stringpublic Boolean isUnicode()
BooleanCopyright © 2018–2020. All rights reserved.