Package org.apache.bval.jsr.xml
Class MethodType
- java.lang.Object
-
- org.apache.bval.jsr.xml.MethodType
-
public class MethodType extends Object
Classe Java pour methodType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="methodType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="parameter" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}parameterType" maxOccurs="unbounded" minOccurs="0"/> <element name="cross-parameter" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}crossParameterType" minOccurs="0"/> <element name="return-value" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}returnValueType" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected CrossParameterTypecrossParameterprotected BooleanignoreAnnotationsprotected Stringnameprotected List<ParameterType>parameterprotected ReturnValueTypereturnValue
-
Constructor Summary
Constructors Constructor Description MethodType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrossParameterTypegetCrossParameter()Obtient la valeur de la propriété crossParameter.BooleangetIgnoreAnnotations()Obtient la valeur de la propriété ignoreAnnotations.StringgetName()Obtient la valeur de la propriété name.List<ParameterType>getParameter()Gets the value of the parameter property.ReturnValueTypegetReturnValue()Obtient la valeur de la propriété returnValue.voidsetCrossParameter(CrossParameterType value)Définit la valeur de la propriété crossParameter.voidsetIgnoreAnnotations(Boolean value)Définit la valeur de la propriété ignoreAnnotations.voidsetName(String value)Définit la valeur de la propriété name.voidsetReturnValue(ReturnValueType value)Définit la valeur de la propriété returnValue.
-
-
-
Field Detail
-
parameter
protected List<ParameterType> parameter
-
crossParameter
protected CrossParameterType crossParameter
-
returnValue
protected ReturnValueType returnValue
-
name
protected String name
-
ignoreAnnotations
protected Boolean ignoreAnnotations
-
-
Method Detail
-
getParameter
public List<ParameterType> getParameter()
Gets the value of the parameter 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 parameter property.For example, to add a new item, do as follows:
getParameter().add(newItem);Objects of the following type(s) are allowed in the list
ParameterType
-
getCrossParameter
public CrossParameterType getCrossParameter()
Obtient la valeur de la propriété crossParameter.- Returns:
- possible object is
CrossParameterType
-
setCrossParameter
public void setCrossParameter(CrossParameterType value)
Définit la valeur de la propriété crossParameter.- Parameters:
value- allowed object isCrossParameterType
-
getReturnValue
public ReturnValueType getReturnValue()
Obtient la valeur de la propriété returnValue.- Returns:
- possible object is
ReturnValueType
-
setReturnValue
public void setReturnValue(ReturnValueType value)
Définit la valeur de la propriété returnValue.- Parameters:
value- allowed object isReturnValueType
-
getName
public String getName()
Obtient la valeur de la propriété name.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Définit la valeur de la propriété name.- Parameters:
value- allowed object isString
-
getIgnoreAnnotations
public Boolean getIgnoreAnnotations()
Obtient la valeur de la propriété ignoreAnnotations.- Returns:
- possible object is
Boolean
-
-