Interface IElementParticleMappingDS
- All Superinterfaces:
IParticleMappingDS
,IReportingDS
- All Known Implementing Classes:
ReportingElementParticleMappingDS
,XmlElementParticleMappingDS
,XmlElementParticleMappingDS
This interface defines an element particle of a type.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the attribute storing the xml element content, may be null.This method returns the reference to a global element.This method returns the inline type definition of the element.getName()
This method returns the name of the element particle.This method returns the specific schemaform of the attribute, or null.This method returns the typereference of the element.boolean
This method returns whether the element is nillable according to the schema definitionvoid
This method iterates about the validations of the attribute.Methods inherited from interface com.aquima.interactions.communication.ds.IParticleMappingDS
getMaxOccurs, getMinOccurs
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Method Details
-
getName
String getName()This method returns the name of the element particle.- Returns:
- The element particle name, may be null in case of an element reference.
-
getElementReference
IElementReferenceDS getElementReference()This method returns the reference to a global element. An element particle can have an elementreference, typereference or an inlinetype. If not an elementreference then this method should return null.- Returns:
- The qualifiedName of the referenced element.
-
getAttributeName
String getAttributeName()This method returns the name of the attribute storing the xml element content, may be null.- Returns:
- The name of the attribute.
-
getSpecificForm
SchemaFormType getSpecificForm()This method returns the specific schemaform of the attribute, or null.- Returns:
- the specific schemaform of this attribute.
-
getTypeReference
ITypeReferenceDS getTypeReference()This method returns the typereference of the element. An element particle can have an elementreference, typereference or an inlinetype. If not a typereference then this method should return null.- Returns:
- The typereference of the element.
-
getInlineType
ITypeMappingDS getInlineType()This method returns the inline type definition of the element. An element particle can have an elementreference, typereference or an inlinetype. If not an inlinetype then this method should return null.- Returns:
- The qualifiedName of the referenced element.
-
isNillable
boolean isNillable()This method returns whether the element is nillable according to the schema definition- Returns:
- The isNillable value of the element definition
-
iterateValidations
This method iterates about the validations of the attribute.- Parameters:
visitor
- The visitor accepting the validations.- Throws:
InitializationException
- This exception is thrown when the validation could not be initialized with the provided data source.
-