|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.internal.xml.MethodType
public class MethodType
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 |
|---|
protected List<ParameterType> parameter
protected CrossParameterType crossParameter
protected ReturnValueType returnValue
protected String name
protected Boolean ignoreAnnotations
| Constructor Detail |
|---|
public MethodType()
| Method Detail |
|---|
public 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()
CrossParameterTypepublic void setCrossParameter(CrossParameterType value)
value - allowed object is
CrossParameterTypepublic ReturnValueType getReturnValue()
ReturnValueTypepublic void setReturnValue(ReturnValueType value)
value - allowed object is
ReturnValueTypepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Boolean getIgnoreAnnotations()
Booleanpublic void setIgnoreAnnotations(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||