Class PrimaryKeyDef


  • public class PrimaryKeyDef
    extends java.lang.Object
    Represents the definition of a primary key constraint on a table
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<java.lang.String> columns  
      java.lang.String constraintName  
    • Constructor Summary

      Constructors 
      Constructor Description
      PrimaryKeyDef​(java.lang.String constraintName, java.util.Collection<java.lang.String> columns)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.String> getColumns()  
      java.lang.String getConstraintName()
      Getter for the name of the constraint
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • constraintName

        public final java.lang.String constraintName
      • columns

        public final java.util.List<java.lang.String> columns
    • Constructor Detail

      • PrimaryKeyDef

        public PrimaryKeyDef​(java.lang.String constraintName,
                             java.util.Collection<java.lang.String> columns)
    • Method Detail

      • getConstraintName

        public java.lang.String getConstraintName()
        Getter for the name of the constraint
        Returns:
      • getColumns

        public java.util.Collection<java.lang.String> getColumns()