Class SqlFunctionName

java.lang.Object
org.evomaster.client.java.sql.heuristic.function.SqlFunctionName
All Implemented Interfaces:
Comparable<SqlFunctionName>

public class SqlFunctionName extends Object implements Comparable<SqlFunctionName>
  • Constructor Details

    • SqlFunctionName

      public SqlFunctionName(String functionName)
      Constructs a new SqlFunctionName instance with the specified function name. The function name is converted to lowercase to ensure consistency.
      Parameters:
      functionName - the name of the SQL function. Must not be null. Throws NullPointerException if the input is null.
  • Method Details

    • getFunctionName

      public String getFunctionName()
      Retrieves the name of the SQL function.
      Returns:
      the name of the SQL function as a string. This value is stored in lowercase.
    • equals

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

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

      public int compareTo(SqlFunctionName o)
      Specified by:
      compareTo in interface Comparable<SqlFunctionName>