Class TCastOrIsOfExpression
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TCastOrIsOfExpression
-
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>
-
-
Constructor Summary
Constructors Constructor Description TCastOrIsOfExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getContent()Gets the rest of the content model.StringgetMaxLength()Gets the value of the maxLength property.BigIntegergetPrecision()Gets the value of the precision property.StringgetScale()Gets the value of the scale property.StringgetSRID()Gets the value of the srid property.List<String>getType()Gets the value of the type property.BooleanisUnicode()Gets the value of the unicode property.voidsetMaxLength(String value)Sets the value of the maxLength property.voidsetPrecision(BigInteger value)Sets the value of the precision property.voidsetScale(String value)Sets the value of the scale property.voidsetSRID(String value)Sets the value of the srid property.voidsetUnicode(Boolean value)Sets the value of the unicode property.
-
-
-
Method Detail
-
getContent
public List<Object> getContent()
Gets the rest of the content model.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/runner/work/odata-client/odata-client/odata-client-generator/src/main/xsd/edm.xsd line 803 of file:/home/runner/work/odata-client/odata-client/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
setmethod 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
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>
-
getType
public List<String> getType()
Gets the value of the type 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 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
-
getMaxLength
public String getMaxLength()
Gets the value of the maxLength property.- Returns:
- possible object is
String
-
setMaxLength
public void setMaxLength(String value)
Sets the value of the maxLength property.- Parameters:
value- allowed object isString
-
getPrecision
public BigInteger getPrecision()
Gets the value of the precision property.- Returns:
- possible object is
BigInteger
-
setPrecision
public void setPrecision(BigInteger value)
Sets the value of the precision property.- Parameters:
value- allowed object isBigInteger
-
getScale
public String getScale()
Gets the value of the scale property.- Returns:
- possible object is
String
-
setScale
public void setScale(String value)
Sets the value of the scale property.- Parameters:
value- allowed object isString
-
getSRID
public String getSRID()
Gets the value of the srid property.- Returns:
- possible object is
String
-
setSRID
public void setSRID(String value)
Sets the value of the srid property.- Parameters:
value- allowed object isString
-
isUnicode
public Boolean isUnicode()
Gets the value of the unicode property.- Returns:
- possible object is
Boolean
-
-