Class CheckConstraint


  • public class CheckConstraint
    extends java.lang.Object
    Represents a table check constraint
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckConstraint​(java.lang.String constraintName, java.lang.String constraintExpression)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getConstraintExpression()
      Getter for the constraint expression value
      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
      • constraintExpression

        public final java.lang.String constraintExpression
    • Constructor Detail

      • CheckConstraint

        public CheckConstraint​(java.lang.String constraintName,
                               java.lang.String constraintExpression)
    • Method Detail

      • getConstraintName

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

        public java.lang.String getConstraintExpression()
        Getter for the constraint expression value
        Returns: