|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.edg.info.sqlutil.parsql.ColumnDefinition
Definition of a column in an SQL CREATE TABLE statement.
Constructor Summary | |
ColumnDefinition()
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
Returns true if cd represents exactly the same ColumnDefinition statement as 'this'. |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getType()
Returns the type. |
boolean |
isEquivalentTo(ColumnDefinition cd)
Returns true if the given ColumnDefinition is equivalent to (in type terms) this ColumnDefinition. |
boolean |
isNotNull()
Returns the notNull flag. |
boolean |
isPrimaryKey()
Returns the primaryKey flag. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setNotNull(boolean notNull)
Sets the notNull flag. |
void |
setPrimaryKey(boolean primaryKey)
Sets the primaryKey flag. |
void |
setType(java.lang.String type)
Sets the type. |
java.lang.String |
toString()
Returns object as a string. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ColumnDefinition()
Method Detail |
public void setName(java.lang.String name)
name
- The name to setpublic java.lang.String getName()
public void setNotNull(boolean notNull)
notNull
- The notNull to setpublic boolean isNotNull()
public void setPrimaryKey(boolean primaryKey)
primaryKey
- The primaryKey flag to setpublic boolean isPrimaryKey()
public void setType(java.lang.String type)
type
- The type to setpublic java.lang.String getType()
public boolean equals(java.lang.Object obj)
obj
- Object for comparison.
public boolean isEquivalentTo(ColumnDefinition cd)
cd
- ColumnDefinition.
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |