Class XmlInputMapDao


public class XmlInputMapDao extends AbstractDao
Provides a DAO for the XmlInputMap entity.
See Also:
  • Constructor Details

    • XmlInputMapDao

      public XmlInputMapDao()
  • Method Details

    • getXmlInputMapForId

      public XmlInputMap getXmlInputMapForId(String id)
      Return the XML prefill mapping with the specified OID
      Parameters:
      id - the OID
      Returns:
      the matching XML prefill mapping, or null if not found
    • getXmlInputMapListForXmlInputSchema

      public List<XmlInputMap> getXmlInputMapListForXmlInputSchema(SchemaSeed schemaSeed)
      Return the list of XML prefill mappings defined for a SchemaSeed
      Parameters:
      schemaSeed - the non-null schema seed
      Returns:
      the list of XML prefill mappings associated with the schema seed
    • hasXmlInputMap

      public boolean hasXmlInputMap(SchemaSeed schemaSeed, String inXpath, String outXpath)
      Return whether there is an XML input mapping for the given schema seed, in XPath and out XPath.
      Parameters:
      schemaSeed - the schema seed (required)
      inXpath - the XPath in the prefill XML file (required)
      outXpath - the XPath in the schema seed (required)
      Returns:
      true if a matching XML input mapping exists
      Since:
      5.1.5.1