Class XmlElementParticleMappingDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.communication.ds.xml.r17.parsing.XmlElementParticleMappingDS
- All Implemented Interfaces:
IElementParticleMappingDS
,IParticleMappingDS
,IReportingDS
public final class XmlElementParticleMappingDS
extends ReportingDS
implements IElementParticleMappingDS
Xml datasource implementation.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Constructor Summary
ModifierConstructorDescriptionprotected
XmlElementParticleMappingDS
(IInitializationReport report, IXmlNode node) -
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.long
The method returns the max occurs of the field.long
The method returns the min occurs of the field.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 class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlElementParticleMappingDS
-
-
Method Details
-
getMinOccurs
public long getMinOccurs()Description copied from interface:IParticleMappingDS
The method returns the min occurs of the field.- Specified by:
getMinOccurs
in interfaceIParticleMappingDS
- Returns:
- The min occurs of the field (-1 for unbounded).
-
getMaxOccurs
public long getMaxOccurs()Description copied from interface:IParticleMappingDS
The method returns the max occurs of the field.- Specified by:
getMaxOccurs
in interfaceIParticleMappingDS
- Returns:
- The max occurs of the field (-1 for unbounded).
-
getName
Description copied from interface:IElementParticleMappingDS
This method returns the name of the element particle.- Specified by:
getName
in interfaceIElementParticleMappingDS
- Returns:
- The element particle name, may be null in case of an element reference.
-
getAttributeName
Description copied from interface:IElementParticleMappingDS
This method returns the name of the attribute storing the xml element content, may be null.- Specified by:
getAttributeName
in interfaceIElementParticleMappingDS
- Returns:
- The name of the attribute.
-
getSpecificForm
Description copied from interface:IElementParticleMappingDS
This method returns the specific schemaform of the attribute, or null.- Specified by:
getSpecificForm
in interfaceIElementParticleMappingDS
- Returns:
- the specific schemaform of this attribute.
-
getElementReference
Description copied from interface:IElementParticleMappingDS
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.- Specified by:
getElementReference
in interfaceIElementParticleMappingDS
- Returns:
- The qualifiedName of the referenced element.
-
getTypeReference
Description copied from interface:IElementParticleMappingDS
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.- Specified by:
getTypeReference
in interfaceIElementParticleMappingDS
- Returns:
- The typereference of the element.
-
getInlineType
Description copied from interface:IElementParticleMappingDS
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.- Specified by:
getInlineType
in interfaceIElementParticleMappingDS
- Returns:
- The qualifiedName of the referenced element.
-
isNillable
public boolean isNillable()Description copied from interface:IElementParticleMappingDS
This method returns whether the element is nillable according to the schema definition- Specified by:
isNillable
in interfaceIElementParticleMappingDS
- Returns:
- The isNillable value of the element definition
-
iterateValidations
Description copied from interface:IElementParticleMappingDS
This method iterates about the validations of the attribute.- Specified by:
iterateValidations
in interfaceIElementParticleMappingDS
- Parameters:
visitor
- The visitor accepting the validations.
-