All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oasisopen.odata.csdl.v4.TProperty Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
//
// 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 TProperty complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TProperty">
 *   <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}TCommonPropertyAttributes"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TProperty", propOrder = { "annotation" }) public class TProperty { @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 = "Nullable") protected Boolean nullable; @XmlAttribute(name = "DefaultValue") protected String defaultValue; @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 nullable property. * * @return * possible object is * {@link Boolean } * */ public boolean isNullable() { if (nullable == null) { return true; } else { 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 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; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy