Package | Description |
---|---|
com.uoc.myframeuoc.querymanagement |
Modifier and Type | Method and Description |
---|---|
ConstraintType |
Constraint.getConstraintType()
Permet obtenir el tipus de restricció o constraint que s'afegeix en la
definició d'una taula de la base de dades.
|
static ConstraintType |
ConstraintType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintType[] |
ConstraintType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateTable.addConstraintFromFields(java.lang.String name,
ConstraintType constraintType,
java.util.ArrayList<Field> fields)
Afegeix una nova restricció o constraint a la definició de la taula.
|
void |
CreateTable.addConstraintFromNameFields(java.lang.String name,
ConstraintType constraintType,
java.util.ArrayList<java.lang.String> nameFields)
Afegeix una nova restricció o constraint a la definició de la taula.
|
Constructor and Description |
---|
Constraint(java.lang.String name,
ConstraintType constraintType)
Constructor.
|
Constraint(java.lang.String name,
ConstraintType constraintType,
java.util.ArrayList<Field> fields)
Constructor.
|