Class UniqueDefinition

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

public class UniqueDefinition extends Object

UniqueDefinition class.

Author:
Luke Lambert
  • Constructor Details

    • UniqueDefinition

      public UniqueDefinition(String... columnNames)

      Constructor for UniqueDefinition.

      Parameters:
      columnNames - the names of the columns that have the SQLite property of Unique
    • UniqueDefinition

      public UniqueDefinition(Collection<String> columnNames)

      Constructor for UniqueDefinition.

      Parameters:
      columnNames - the names of the columns that have the SQLite property of Unique
  • Method Details

    • getColumnNames

      public Set<String> getColumnNames()

      Getter for the field columnNames.

      Returns:
      the columnNames the names of the columns that have the SQLite property of Unique
    • equals

      public boolean equals(String columnName)

      equals.

      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