Module odo.sql

Class PrimaryKey<T>

java.lang.Object
net.odoframework.sql.util.schema.PrimaryKey<T>

public class PrimaryKey<T>
extends Object
  • Constructor Details

    • PrimaryKey

      public PrimaryKey()
    • PrimaryKey

      public PrimaryKey​(Set<Column<T,​?,​?>> primaryKey)
  • Method Details

    • getColumn

      public Optional<Column<T,​?,​?>> getColumn​(String name)
    • add

      public PrimaryKey<T> add​(Column<T,​?,​?> column)
    • getPrimaryKeyColumns

      public String[] getPrimaryKeyColumns()
    • size

      public int size()
    • whereClause

      public String whereClause()
    • populateStatement

      public void populateStatement​(T instance, BaseDBStatement statement)