Class GenericValueCreationTrigger

java.lang.Object
com.orchestranetworks.schema.trigger.TableTrigger
com.apgar.common.lib.trigger.GenericValueCreationTrigger

public class GenericValueCreationTrigger extends TableTrigger
Table trigger to pre-fill a few fields using data in a record passed in the session's tracking info.

This class' input parameters only serve as an example and can be customized as needed.

The trigger is defined as follows for the table it is applied on in the XSD of its dataset.

 <xs:complexType name="SampleTable_Type">
     <xs:annotation>
         <xs:documentation xml:lang="en-US">
             <osd:label>Sample Table</osd:label>
         </xs:documentation>
         <xs:appinfo>
             <osd:table>...</osd:table>
             <osd:trigger class="com.apgar.common.lib.trigger.GenericValueCreationTrigger">
                 <name>./name</name>
             </osd:trigger>
         </xs:appinfo>
     </xs:annotation>
 </xs:complexType>
 
Author:
APGAR Consulting
  • Field Details

    • SDLID_PATH

      public static final Path SDLID_PATH
      Record SdlID path
    • NAME_PATH

      public static final Path NAME_PATH
      Sample field to be set path
  • Constructor Details

    • GenericValueCreationTrigger

      public GenericValueCreationTrigger()
  • Method Details