public interface Constraint
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 getConstraint()
void setConstraint(String constraint)
constraint
- the constraintString getName()
void setName(String name)
name
- the name of the constraintint getPriority()
void setPriority(int priority)
priority
- the priority of the constraintString getType()
void setType(String type)
type
- the type of the constraintString getDialect()
void setDialect(String dialect)
dialect
- the dialect of the constraintboolean isDefault()
void setDefault(boolean isDefault)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.