Class SchemaSeed

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
All Implemented Interfaces:
IEntity, Auditable, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

@CacheGroups("CONFIG") public class SchemaSeed extends _SchemaSeed implements Auditable
Provides an entity containing a blank seed file for a form, as well as configuration such as prefill mappings.
See Also:
  • Field Details

    • DEFAULT_XPATH_ABANDONMENT_REASON

      public static final String DEFAULT_XPATH_ABANDONMENT_REASON
      The XPath used for the default "AbandonmentReason" configuration mapping
      See Also:
    • DEFAULT_XPATH_ATTACHMENTS

      public static final String DEFAULT_XPATH_ATTACHMENTS
      The XPath used for the default "Attachments" configuration mapping
      See Also:
    • DEFAULT_XPATH_PAYMENT_DETAILS

      public static final String DEFAULT_XPATH_PAYMENT_DETAILS
      The XPath used for the default "Payment Details" configuration mapping
      See Also:
    • DEFAULT_XPATH_RECEIPT

      public static final String DEFAULT_XPATH_RECEIPT
      The XPath used for the default "Receipt" configuration mapping
      See Also:
    • DEFAULT_XPATH_SIGNATURES

      public static final String DEFAULT_XPATH_SIGNATURES
      The XPath used for the default "Signatures" configuration mapping
      See Also:
  • Constructor Details

    • SchemaSeed

      public SchemaSeed()
  • Method Details

    • getSeedFileData

      public String getSeedFileData()
      Return the seed file data for this schema object
      Returns:
      the seed file data
    • hasXPath

      public boolean hasXPath(String xpath)
      Return true if the SchemaSeed Form XML data has an element matching the given xpath.
      Parameters:
      xpath - the element xpath (required)
      Returns:
      true if the SchemaSeed Form XML data has an element matching the given xpath.
    • getSeedDocument

      public Document getSeedDocument()
      Return the schema seed XML Document.
      Returns:
      the schema seed XML Document
    • getExtractNames

      public Set<String> getExtractNames()
      Return the set of schema extract names.
      Returns:
      the set of schema extract names
      Since:
      4.0.0