public class MethodType
extends java.lang.Object
Java class for methodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="methodType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="parameter" type="{http://jboss.org/xml/ns/javax/validation/mapping}parameterType" maxOccurs="unbounded" minOccurs="0"/> <element name="cross-parameter" type="{http://jboss.org/xml/ns/javax/validation/mapping}crossParameterType" minOccurs="0"/> <element name="return-value" type="{http://jboss.org/xml/ns/javax/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>
Modifier and Type | Field and Description |
---|---|
protected CrossParameterType |
crossParameter |
protected java.lang.Boolean |
ignoreAnnotations |
protected java.lang.String |
name |
protected java.util.List<ParameterType> |
parameter |
protected ReturnValueType |
returnValue |
Constructor and Description |
---|
MethodType() |
Modifier and Type | Method and Description |
---|---|
CrossParameterType |
getCrossParameter()
Gets the value of the crossParameter property.
|
java.lang.Boolean |
getIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.util.List<ParameterType> |
getParameter()
Gets the value of the parameter property.
|
ReturnValueType |
getReturnValue()
Gets the value of the returnValue property.
|
void |
setCrossParameter(CrossParameterType value)
Sets the value of the crossParameter property.
|
void |
setIgnoreAnnotations(java.lang.Boolean value)
Sets the value of the ignoreAnnotations property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setReturnValue(ReturnValueType value)
Sets the value of the returnValue property.
|
protected java.util.List<ParameterType> parameter
protected CrossParameterType crossParameter
protected ReturnValueType returnValue
protected java.lang.String name
protected java.lang.Boolean ignoreAnnotations
public java.util.List<ParameterType> getParameter()
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 set
method 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
public CrossParameterType getCrossParameter()
CrossParameterType
public void setCrossParameter(CrossParameterType value)
value
- allowed object is
CrossParameterType
public ReturnValueType getReturnValue()
ReturnValueType
public void setReturnValue(ReturnValueType value)
value
- allowed object is
ReturnValueType
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.Boolean getIgnoreAnnotations()
Boolean
public void setIgnoreAnnotations(java.lang.Boolean value)
value
- allowed object is
Boolean