Class CheckConstraint

java.lang.Object
org.hibernate.mapping.CheckConstraint

public class CheckConstraint extends Object
Represents a table or column level check constraint.
  • Constructor Details

    • CheckConstraint

      public CheckConstraint(String name, String constraint)
    • CheckConstraint

      public CheckConstraint(String constraint)
  • Method Details

    • isNamed

      public boolean isNamed()
    • isAnonymous

      public boolean isAnonymous()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getConstraint

      public String getConstraint()
    • getConstraintInParens

      public String getConstraintInParens()
    • setConstraint

      public void setConstraint(String constraint)
    • constraintString

      public String constraintString()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object