|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.model.IndexColumn
Represents a column of an index in the database model.
Field Summary | |
protected String |
_name
The name of the column. |
protected String |
_size
The size of the column in the index. |
Constructor Summary | |
IndexColumn()
Creates a new index column object. |
|
IndexColumn(String columnName)
Creates a new index column object. |
Method Summary | |
Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getName()
Returns the name of the column. |
int |
getOrdinalPosition()
Returns the position within the owning index. |
String |
getSize()
Returns the size of the column in the index. |
int |
hashCode()
|
void |
setName(String name)
Sets the name of the column. |
void |
setOrdinalPosition(int position)
Sets the position within the owning index. |
void |
setSize(String size)
Sets the size of the column in the index. |
String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String _name
protected String _size
Constructor Detail |
public IndexColumn()
public IndexColumn(String columnName)
columnName
- The name of the corresponding table columnMethod Detail |
public int getOrdinalPosition()
public void setOrdinalPosition(int position)
position
- The positionpublic String getName()
public void setName(String name)
name
- The namepublic String getSize()
public void setSize(String size)
size
- The sizepublic Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |