Package org.hibernate.mapping
Class CheckConstraint
- java.lang.Object
-
- org.hibernate.mapping.CheckConstraint
-
public class CheckConstraint extends Object
Represents a table or column levelcheck
constraint.
-
-
Constructor Summary
Constructors Constructor Description CheckConstraint(String constraint)
CheckConstraint(String name, String constraint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
constraintString()
boolean
equals(Object object)
String
getConstraint()
String
getConstraintInParens()
String
getName()
int
hashCode()
boolean
isAnonymous()
boolean
isNamed()
void
setConstraint(String constraint)
void
setName(String name)
-
-
-
Method Detail
-
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()
-
-