Class SchemaSeed

  • 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:
    Serialized Form
    • Field Detail

      • DEFAULT_XPATH_ABANDONMENT_REASON

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

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

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

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

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

      • SchemaSeed

        public SchemaSeed()
    • Method Detail

      • 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