Class ProblemFactoryProxy.JavaMethodCode

java.lang.Object
nz.org.riskscape.engine.problem.ProblemFactoryProxy.JavaMethodCode
All Implemented Interfaces:
ProblemCode
Enclosing class:
ProblemFactoryProxy

public static class ProblemFactoryProxy.JavaMethodCode extends Object implements ProblemCode
  • Constructor Details

    • JavaMethodCode

      public JavaMethodCode(Method method)
  • Method Details

    • toKey

      public String toKey()
      Description copied from interface: ProblemCode

      A key to use for i18n look ups to describe this problem.

      Specified by:
      toKey in interface ProblemCode
    • name

      public String name()
      Description copied from interface: ProblemCode

      The name of this code, unique among all other codes in its class

      Specified by:
      name in interface ProblemCode
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object