Class DataFieldRow

java.lang.Object
edu.suffolk.litlab.efspserver.tyler.codes.DataFieldRow

public class DataFieldRow extends Object
  • Field Details

    • code

      public String code
    • name

      public String name
    • isvisible

      public boolean isvisible
    • isrequired

      public boolean isrequired
    • helptext

      public String helptext
    • ghosttext

      public String ghosttext
    • contextualhelpdata

      public String contextualhelpdata
    • validationmessage

      public String validationmessage
    • regularexpression

      public Pattern regularexpression
    • defaultvalueexpression

      public String defaultvalueexpression
    • isreadonly

      public boolean isreadonly
    • location

      public String location
  • Constructor Details

    • DataFieldRow

      public DataFieldRow(String code, String name, boolean isvisible, boolean isrequired, String helptext, String ghosttext, String contextualhelpdata, String validationmessage, String regularexpression, String defaultvalueexpression, boolean isreadonly, String location)
      Constructor directly from Database.
  • Method Details

    • MissingDataField

      public static DataFieldRow MissingDataField(String name)
      According to the Tyler docs, if some data field is not defined, it defaults to isVisible=False, and isRequired=False. Everything else will be empty
      Returns:
    • matchRegex

      public boolean matchRegex(String value)
    • getAllFromDataFieldConfigForLoc

      public static String getAllFromDataFieldConfigForLoc()
      Gets all columns from datafieldconfig table Need to provide the location (1) and the code (2) of the field. For example, 'adams' and 'FilingEventCaseParties'
      Returns:
      the String to make a SQL PreparedStatement from
    • getAllDataFieldConfigsForLoc

      public static String getAllDataFieldConfigsForLoc()
    • getAllDataFieldNames

      public static String getAllDataFieldNames()