public class ConstraintImpl extends Object implements Constraint, Serializable
| Constructor and Description |
|---|
ConstraintImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstraint()
Typically this method returns the constraint as a String
|
String |
getDialect()
Returns the dialect of the constraint,
e.g.
|
Object |
getMetaData(String name) |
String |
getName()
Returns the name of the constraint
|
int |
getPriority()
Returns the priority of the constraint
|
String |
getType()
Returns the type of the constraint,
e.g.
|
boolean |
isDefault() |
void |
setConstraint(String constraint)
Method for setting the constraint
|
void |
setDefault(boolean isDefault) |
void |
setDialect(String dialect)
Method for setting the dialect of the constraint,
e.g.
|
void |
setMetaData(String name,
Object value) |
void |
setName(String name)
Sets the name of the constraint
|
void |
setPriority(int priority)
Method for setting the priority of the constraint
|
void |
setType(String type)
Method for setting the type of the constraint,
e.g.
|
String |
toString() |
public String getConstraint()
ConstraintgetConstraint in interface Constraintpublic void setConstraint(String constraint)
ConstraintsetConstraint in interface Constraintconstraint - the constraintpublic String getName()
ConstraintgetName in interface Constraintpublic void setName(String name)
ConstraintsetName in interface Constraintname - the name of the constraintpublic int getPriority()
ConstraintgetPriority in interface Constraintpublic void setPriority(int priority)
ConstraintsetPriority in interface Constraintpriority - the priority of the constraintpublic String getDialect()
ConstraintgetDialect in interface Constraintpublic void setDialect(String dialect)
ConstraintsetDialect in interface Constraintdialect - the dialect of the constraintpublic String getType()
ConstraintgetType in interface Constraintpublic void setType(String type)
ConstraintsetType in interface Constrainttype - the type of the constraintpublic boolean isDefault()
isDefault in interface Constraintpublic void setDefault(boolean isDefault)
setDefault in interface Constraintpublic void setMetaData(String name, Object value)
setMetaData in interface Constraintpublic Object getMetaData(String name)
getMetaData in interface ConstraintCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.