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

org.oasisopen.odata.csdl.v4.TAction 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.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 TAction complex type. * *

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

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

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

     *    getParameterOrAnnotationOrReturnType().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TActionFunctionParameter } * {@link Annotation } * {@link TActionFunctionReturnType } * * */ public List getParameterOrAnnotationOrReturnType() { if (parameterOrAnnotationOrReturnType == null) { parameterOrAnnotationOrReturnType = new ArrayList(); } return this.parameterOrAnnotationOrReturnType; } /** * 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; } }