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

org.oasisopen.odata.csdl.v4.TFunction 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.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.04.28 at 02:44:02 AM UTC 
//


package org.oasisopen.odata.csdl.v4;

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.XmlElements;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for TFunction complex type. * *

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

 * <complexType name="TFunction">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element name="Parameter" type="{http://docs.oasis-open.org/odata/ns/edm}TActionFunctionParameter"/>
 *           <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/>
 *         </choice>
 *         <element name="ReturnType" type="{http://docs.oasis-open.org/odata/ns/edm}TActionFunctionReturnType"/>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/>
 *         </choice>
 *       </sequence>
 *       <attGroup ref="{http://docs.oasis-open.org/odata/ns/edm}TFunctionAttributes"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TFunction", propOrder = { "parameterOrAnnotation", "returnType", "annotation" }) public class TFunction { @XmlElements({ @XmlElement(name = "Parameter", type = TActionFunctionParameter.class), @XmlElement(name = "Annotation", type = Annotation.class) }) protected List parameterOrAnnotation; @XmlElement(name = "ReturnType", required = true) protected TActionFunctionReturnType returnType; @XmlElement(name = "Annotation") protected List annotation; @XmlAttribute(name = "Name", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String name; @XmlAttribute(name = "EntitySetPath") protected String entitySetPath; @XmlAttribute(name = "IsBound") protected Boolean isBound; @XmlAttribute(name = "IsComposable") protected Boolean isComposable; /** * Gets the value of the parameterOrAnnotation 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 parameterOrAnnotation property. * *

* For example, to add a new item, do as follows: *

     *    getParameterOrAnnotation().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Annotation } * {@link TActionFunctionParameter } * * */ public List getParameterOrAnnotation() { if (parameterOrAnnotation == null) { parameterOrAnnotation = new ArrayList(); } return this.parameterOrAnnotation; } /** * Gets the value of the returnType property. * * @return * possible object is * {@link TActionFunctionReturnType } * */ public TActionFunctionReturnType getReturnType() { return returnType; } /** * Sets the value of the returnType property. * * @param value * allowed object is * {@link TActionFunctionReturnType } * */ public void setReturnType(TActionFunctionReturnType value) { this.returnType = value; } /** * 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 entitySetPath property. * * @return * possible object is * {@link String } * */ public String getEntitySetPath() { return entitySetPath; } /** * Sets the value of the entitySetPath property. * * @param value * allowed object is * {@link String } * */ public void setEntitySetPath(String value) { this.entitySetPath = value; } /** * Gets the value of the isBound property. * * @return * possible object is * {@link Boolean } * */ public boolean isIsBound() { if (isBound == null) { return false; } else { return isBound; } } /** * Sets the value of the isBound property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsBound(Boolean value) { this.isBound = value; } /** * Gets the value of the isComposable property. * * @return * possible object is * {@link Boolean } * */ public boolean isIsComposable() { if (isComposable == null) { return false; } else { return isComposable; } } /** * Sets the value of the isComposable property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsComposable(Boolean value) { this.isComposable = value; } }