Class UniqueDefinition

java.lang.Object
org.opengis.cite.gpkg12.UniqueDefinition

public class UniqueDefinition extends Object
Author:
Luke Lambert
  • Constructor Details

    • UniqueDefinition

      public UniqueDefinition(String... columnNames)
      Parameters:
      columnNames - the names of the columns that have the SQLite property of Unique
    • UniqueDefinition

      public UniqueDefinition(Collection<String> columnNames)
      Parameters:
      columnNames - the names of the columns that have the SQLite property of Unique
  • Method Details

    • getColumnNames

      public Set<String> getColumnNames()
      Returns:
      the columnNames the names of the columns that have the SQLite property of Unique
    • equals

      public boolean equals(String columnName)
      Parameters:
      columnName - the name of the column
      Returns:
      true if the column name given is in the set of this.columnNames; otherwise returns false.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object