Class Constants


  • @VelocityCallable("singleton")
    public final class Constants
    extends Object
    Utility class to get arbitrary class constants.
    • Constructor Detail

      • Constants

        public Constants()
    • Method Detail

      • get

        public Object get​(String p_strClass,
                          String p_strField)
        Get a class constant.
        Parameters:
        p_strClass - The name of the class.
        p_strField - The name of the field whose value to get.
        Returns:
        The value of the field or null if an error occurred.