Class ScenarioLienHelper

    • Method Detail

      • initialize

        public static List<ParameterizableQueryinitialize()
        Queries to create the table and associated view.
        Returns:
        List of queries for table and view creation
      • insertInto

        public static ParameterizableQuery insertInto​(String code,
                                                      Double weight,
                                                      Long minChoice,
                                                      Long maxChoice)
        Query to insert a line in the table.
        Parameters:
        code - The code
        weight - The weight (1 in most case, can be 0 for optional lists and min/nbChildren for choice lists)
        minChoice - The min choice (only for choice lists), otherwise should be null
        maxChoice - The max choice (only for choice lists), otherwise should be null
        Returns:
        The query to insert values in the table