Interface ITypeMappingDS

All Superinterfaces:
IReportingDS
All Known Implementing Classes:
ReportingTypeMappingDS, XmlTypeMappingDS, XmlTypeMappingDS

public interface ITypeMappingDS extends IReportingDS
This interface defines a type within a schema.
Since:
9.0
Author:
Arjan Pragt
  • 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

      void iterateContentValidations(IFieldValidationVisitor visitor)
      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

      void iterateAttributes(IAttributeMappingVisitor visitor)
      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.