Class MethodType
java.lang.Object
de.hybris.platform.validation.internal.xml.binding.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://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
FieldsModifier and TypeFieldDescriptionprotected CrossParameterTypeprotected Booleanprotected Stringprotected List<ParameterType>protected ReturnValueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the crossParameter property.Gets the value of the ignoreAnnotations property.getName()Gets the value of the name property.Gets the value of the parameter property.Gets the value of the returnValue property.voidSets the value of the crossParameter property.voidsetIgnoreAnnotations(Boolean value) Sets the value of the ignoreAnnotations property.voidSets the value of the name property.voidsetReturnValue(ReturnValueType value) Sets the value of the returnValue property.
-
Field Details
-
parameter
-
crossParameter
-
returnValue
-
name
-
ignoreAnnotations
-
-
Constructor Details
-
MethodType
public MethodType()
-
-
Method Details
-
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
Gets the value of the crossParameter property.- Returns:
- possible object is
CrossParameterType
-
setCrossParameter
Sets the value of the crossParameter property.- Parameters:
value- allowed object isCrossParameterType
-
getReturnValue
Gets the value of the returnValue property.- Returns:
- possible object is
ReturnValueType
-
setReturnValue
Sets the value of the returnValue property.- Parameters:
value- allowed object isReturnValueType
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getIgnoreAnnotations
Gets the value of the ignoreAnnotations property.- Returns:
- possible object is
Boolean
-
setIgnoreAnnotations
Sets the value of the ignoreAnnotations property.- Parameters:
value- allowed object isBoolean
-