Class ElementType
java.lang.Object
de.hybris.platform.validation.internal.xml.binding.ElementType
Java class for elementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="elementType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="annotation" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}annotationType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the content property.getName()Gets the value of the name property.voidSets the value of the name property.
-
Field Details
-
-
name
-
-
Constructor Details
-
ElementType
public ElementType()
-
-
Method Details
-
getContent
Gets the value of the content 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 content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<String>StringJAXBElement<AnnotationType> -
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
-