Class ConstraintType
java.lang.Object
de.hybris.platform.validation.internal.xml.binding.ConstraintType
Java class for constraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="constraintType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="groups" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}groupsType" minOccurs="0"/>
<element name="payload" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}payloadType" minOccurs="0"/>
<element name="element" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}elementType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="annotation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<ElementType>protected GroupsTypeprotected Stringprotected PayloadType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the annotation property.Gets the value of the element property.Gets the value of the groups property.Gets the value of the message property.Gets the value of the payload property.voidsetAnnotation(String value) Sets the value of the annotation property.voidsetGroups(GroupsType value) Sets the value of the groups property.voidsetMessage(String value) Sets the value of the message property.voidsetPayload(PayloadType value) Sets the value of the payload property.
-
Field Details
-
message
-
groups
-
payload
-
element
-
annotation
-
-
Constructor Details
-
ConstraintType
public ConstraintType()
-
-
Method Details
-
getMessage
Gets the value of the message property.- Returns:
- possible object is
String
-
setMessage
Sets the value of the message property.- Parameters:
value- allowed object isString
-
getGroups
Gets the value of the groups property.- Returns:
- possible object is
GroupsType
-
setGroups
Sets the value of the groups property.- Parameters:
value- allowed object isGroupsType
-
getPayload
Gets the value of the payload property.- Returns:
- possible object is
PayloadType
-
setPayload
Sets the value of the payload property.- Parameters:
value- allowed object isPayloadType
-
getElement
Gets the value of the element 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 element property.For example, to add a new item, do as follows:
getElement().add(newItem);Objects of the following type(s) are allowed in the list
ElementType -
getAnnotation
Gets the value of the annotation property.- Returns:
- possible object is
String
-
setAnnotation
Sets the value of the annotation property.- Parameters:
value- allowed object isString
-