Package org.hibernate.mapping
Class CheckConstraint
java.lang.Object
org.hibernate.mapping.CheckConstraint
Represents a table or column level
check constraint.Constructor Summary
ConstructorsConstructorDescriptionCheckConstraint(String constraint) CheckConstraint(String name,String constraint) CheckConstraint(String name,String constraint,String options) Method Summary
Modifier and TypeMethodDescriptionDeprecated.useconstraintString(Dialect)instead.constraintString(Dialect dialect) booleangetName()inthashCode()booleanbooleanisNamed()voidsetConstraint(String constraint) voidvoidsetOptions(String options)
Constructor Details
CheckConstraint
CheckConstraint
CheckConstraint
Method Details
isNamed
public boolean isNamed()isAnonymous
public boolean isAnonymous()getName
setName
getConstraint
getConstraintInParens
setConstraint
getOptions
setOptions
constraintString
Deprecated.useconstraintString(Dialect)instead.constraintString
equals
hashCode
public int hashCode()