org.oasisopen.odata.csdl.v4.TTerm Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.05.30 at 11:47:00 AM UTC
//
package org.oasisopen.odata.csdl.v4;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for TTerm complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TTerm">
* <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"/>
* </sequence>
* <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TFacetAttributes"/>
* <attribute name="Name" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TSimpleIdentifier" />
* <attribute name="Type" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TTypeName" />
* <attribute name="BaseTerm" type="{http://docs.oasis-open.org/odata/ns/edm}TQualifiedName" />
* <attribute name="Nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="DefaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="AppliesTo" type="{http://docs.oasis-open.org/odata/ns/edm}TAppliesTo" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TTerm", propOrder = {
"annotation"
})
public class TTerm {
@XmlElement(name = "Annotation")
protected List annotation;
@XmlAttribute(name = "Name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String name;
@XmlAttribute(name = "Type", required = true)
protected List type;
@XmlAttribute(name = "BaseTerm")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String baseTerm;
@XmlAttribute(name = "Nullable")
protected Boolean nullable;
@XmlAttribute(name = "DefaultValue")
protected String defaultValue;
@XmlAttribute(name = "AppliesTo")
protected List appliesTo;
@XmlAttribute(name = "MaxLength")
protected String maxLength;
@XmlAttribute(name = "Precision")
protected BigInteger precision;
@XmlAttribute(name = "Scale")
protected String scale;
@XmlAttribute(name = "SRID")
protected String srid;
@XmlAttribute(name = "Unicode")
protected Boolean unicode;
/**
* 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 Jakarta XML Binding object.
* This is why there is not a set
method 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
* {@link Annotation }
*
*
*/
public List getAnnotation() {
if (annotation == null) {
annotation = new ArrayList();
}
return this.annotation;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* 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 Jakarta XML Binding 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
* {@link String }
*
*
*/
public List getType() {
if (type == null) {
type = new ArrayList();
}
return this.type;
}
/**
* Gets the value of the baseTerm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBaseTerm() {
return baseTerm;
}
/**
* Sets the value of the baseTerm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBaseTerm(String value) {
this.baseTerm = value;
}
/**
* Gets the value of the nullable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNullable() {
return nullable;
}
/**
* Sets the value of the nullable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setNullable(Boolean value) {
this.nullable = value;
}
/**
* Gets the value of the defaultValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDefaultValue() {
return defaultValue;
}
/**
* Sets the value of the defaultValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefaultValue(String value) {
this.defaultValue = value;
}
/**
* Gets the value of the appliesTo 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 Jakarta XML Binding object.
* This is why there is not a set
method for the appliesTo property.
*
*
* For example, to add a new item, do as follows:
*
* getAppliesTo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAppliesTo() {
if (appliesTo == null) {
appliesTo = new ArrayList();
}
return this.appliesTo;
}
/**
* Gets the value of the maxLength property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMaxLength() {
return maxLength;
}
/**
* Sets the value of the maxLength property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMaxLength(String value) {
this.maxLength = value;
}
/**
* Gets the value of the precision property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPrecision() {
return precision;
}
/**
* Sets the value of the precision property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPrecision(BigInteger value) {
this.precision = value;
}
/**
* Gets the value of the scale property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getScale() {
return scale;
}
/**
* Sets the value of the scale property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setScale(String value) {
this.scale = value;
}
/**
* Gets the value of the srid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSRID() {
return srid;
}
/**
* Sets the value of the srid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSRID(String value) {
this.srid = value;
}
/**
* Gets the value of the unicode property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUnicode() {
return unicode;
}
/**
* Sets the value of the unicode property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUnicode(Boolean value) {
this.unicode = value;
}
}