Interface ITypeMappingDS
- All Superinterfaces:
IReportingDS
- All Known Implementing Classes:
ReportingTypeMappingDS
,XmlTypeMappingDS
,XmlTypeMappingDS
This interface defines a type within a schema.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the qualified name of the base type.This method returns the attribute representing the content of the type.This method returns the datatype of the innercontent of the type.This methods returns the entity of the xsdType.getName()
This method returns the name of the xsdType.This method returns the element rootgroup of the type.void
This method iterates the attributes of the type.void
This method iterates about the validations of the content attribute.Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Method Details
-
getName
String getName()This method returns the name of the xsdType.- Returns:
- The name of the xsdType, may not be null.
-
getBaseType
QualifiedName getBaseType()This method returns the qualified name of the base type.- Returns:
- The qualified name of the base type, or null.
-
getEntityName
String getEntityName()This methods returns the entity of the xsdType.- Returns:
- The name of the entity, may not be null.
-
getContentType
DataType getContentType()This method returns the datatype of the innercontent of the type.- Returns:
- The datatype of the content, or null.
-
getContentAttributeName
String getContentAttributeName()This method returns the attribute representing the content of the type.- Returns:
- The name of the content attribute, may be null and not a relation.
-
iterateContentValidations
This method iterates about the validations of the content attribute.- Parameters:
visitor
- The visitor accepting field validations.- Throws:
InitializationException
- This exception is thrown when the field validation could not be initialized with the provided data source.
-
getRootGroup
IGroupParticleMappingDS getRootGroup()This method returns the element rootgroup of the type.- Returns:
- the datasource of the rootgroup, may be null.
-
iterateAttributes
This method iterates the attributes of the type.- Parameters:
visitor
- The visitor accepting attribute mappings- Throws:
InitializationException
- This exception is thrown when the attribute mapping could not be initialized with the provided data source.
-