Class TFunction
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TFunction
-
public class TFunction extends Object
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Annotation>annotationprotected StringentitySetPathprotected BooleanisBoundprotected BooleanisComposableprotected Stringnameprotected List<Object>parameterOrAnnotationprotected TActionFunctionReturnTypereturnType
-
Constructor Summary
Constructors Constructor Description TFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Annotation>getAnnotation()Gets the value of the annotation property.StringgetEntitySetPath()Gets the value of the entitySetPath property.StringgetName()Gets the value of the name property.List<Object>getParameterOrAnnotation()Gets the value of the parameterOrAnnotation property.TActionFunctionReturnTypegetReturnType()Gets the value of the returnType property.booleanisIsBound()Gets the value of the isBound property.booleanisIsComposable()Gets the value of the isComposable property.voidsetEntitySetPath(String value)Sets the value of the entitySetPath property.voidsetIsBound(Boolean value)Sets the value of the isBound property.voidsetIsComposable(Boolean value)Sets the value of the isComposable property.voidsetName(String value)Sets the value of the name property.voidsetReturnType(TActionFunctionReturnType value)Sets the value of the returnType property.
-
-
-
Field Detail
-
returnType
protected TActionFunctionReturnType returnType
-
annotation
protected List<Annotation> annotation
-
name
protected String name
-
entitySetPath
protected String entitySetPath
-
isBound
protected Boolean isBound
-
isComposable
protected Boolean isComposable
-
-
Method Detail
-
getParameterOrAnnotation
public List<Object> getParameterOrAnnotation()
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 JAXB object. This is why there is not a
setmethod 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
TActionFunctionParameterAnnotation
-
getReturnType
public TActionFunctionReturnType getReturnType()
Gets the value of the returnType property.- Returns:
- possible object is
TActionFunctionReturnType
-
setReturnType
public void setReturnType(TActionFunctionReturnType value)
Sets the value of the returnType property.- Parameters:
value- allowed object isTActionFunctionReturnType
-
getAnnotation
public List<Annotation> getAnnotation()
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 JAXB object. This is why there is not a
setmethod 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
Annotation
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getEntitySetPath
public String getEntitySetPath()
Gets the value of the entitySetPath property.- Returns:
- possible object is
String
-
setEntitySetPath
public void setEntitySetPath(String value)
Sets the value of the entitySetPath property.- Parameters:
value- allowed object isString
-
isIsBound
public boolean isIsBound()
Gets the value of the isBound property.- Returns:
- possible object is
Boolean
-
setIsBound
public void setIsBound(Boolean value)
Sets the value of the isBound property.- Parameters:
value- allowed object isBoolean
-
isIsComposable
public boolean isIsComposable()
Gets the value of the isComposable property.- Returns:
- possible object is
Boolean
-
-