org.hibernate.validator.internal.xml
Class MethodType

java.lang.Object
  extended by org.hibernate.validator.internal.xml.MethodType

public class MethodType
extends 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>
 


Field Summary
protected  CrossParameterType crossParameter
           
protected  Boolean ignoreAnnotations
           
protected  String name
           
protected  List<ParameterType> parameter
           
protected  ReturnValueType returnValue
           
 
Constructor Summary
MethodType()
           
 
Method Summary
 CrossParameterType getCrossParameter()
          Gets the value of the crossParameter property.
 Boolean getIgnoreAnnotations()
          Gets the value of the ignoreAnnotations property.
 String getName()
          Gets the value of the name property.
 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(Boolean value)
          Sets the value of the ignoreAnnotations property.
 void setName(String value)
          Sets the value of the name property.
 void setReturnValue(ReturnValueType value)
          Sets the value of the returnValue property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameter

protected List<ParameterType> parameter

crossParameter

protected CrossParameterType crossParameter

returnValue

protected ReturnValueType returnValue

name

protected String name

ignoreAnnotations

protected Boolean ignoreAnnotations
Constructor Detail

MethodType

public MethodType()
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 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


getCrossParameter

public CrossParameterType getCrossParameter()
Gets the value of the crossParameter property.

Returns:
possible object is CrossParameterType

setCrossParameter

public void setCrossParameter(CrossParameterType value)
Sets the value of the crossParameter property.

Parameters:
value - allowed object is CrossParameterType

getReturnValue

public ReturnValueType getReturnValue()
Gets the value of the returnValue property.

Returns:
possible object is ReturnValueType

setReturnValue

public void setReturnValue(ReturnValueType value)
Sets the value of the returnValue property.

Parameters:
value - allowed object is ReturnValueType

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 is String

getIgnoreAnnotations

public Boolean getIgnoreAnnotations()
Gets the value of the ignoreAnnotations property.

Returns:
possible object is Boolean

setIgnoreAnnotations

public void setIgnoreAnnotations(Boolean value)
Sets the value of the ignoreAnnotations property.

Parameters:
value - allowed object is Boolean


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved