public class NotNullConstraint extends java.lang.Object implements Constraint
COMMA, CONSTRAINT, FOREIGNKEY, FOREIGNKEYSTRING, JOINCONDITIONCONSTRAINT, LEFTPARENTH, NOTNULLCONSTRAINT, NOTNULLSTRING, PRIMARYKEY, PRIMARYKEYSTRING, REFERENCESTRING, RIGHTPARENTH, SPACESTRING, UNIQUEKEY, UNIQUEKEYSTRING| Constructor and Description |
|---|
NotNullConstraint()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getKeys()
Method to get keys
|
int |
getType()
method to get type
|
java.lang.String |
printString()
Method to print not null key words in sql cmommand
|
void |
setKeys(java.lang.String[] myKeys)
Method to set keys
|
public NotNullConstraint()
public int getType()
getType in interface Constraintpublic java.lang.String[] getKeys()
public void setKeys(java.lang.String[] myKeys)
myKeys - String[]public java.lang.String printString() throws UnWellFormedConstraintException
printString in interface ConstraintUnWellFormedConstraintException