Class PropertyMapper

All Implemented Interfaces:
Mapper

public class PropertyMapper extends XmlMapper implements Mapper
This mapper will handle the mapping of a Property
  • Constructor Details

    • PropertyMapper

      public PropertyMapper(org.hibernate.SessionFactory sessionFactory, BatchProcessor batchProcessor, PropertyDAO propertyDAO)
  • Method Details

    • exportXml

      public org.dom4j.Element exportXml(Map<String,Object> options) throws ExportException
      Description copied from interface: Mapper
      Exports to V2 XML.
      Specified by:
      exportXml in interface Mapper
      Parameters:
      options - map of arbitrarty options.
      Returns:
      XML element, or null if you are not mapping
      Throws:
      ExportException - error producing XML.
    • importXml

      public void importXml(org.dom4j.Element root) throws ImportException
      Description copied from interface: Mapper
      Imports V2 XML.
      Specified by:
      importXml in interface Mapper
      Parameters:
      root - root XML element.
      Throws:
      ImportException - error importing data.