| |
|
| java.lang.Object org.castor.ddlgen.schemaobject.AbstractSchemaObject org.castor.ddlgen.schemaobject.Index
All known Subclasses: org.castor.ddlgen.schemaobject.DefaultIndex,
Method Summary | |
final public void | addField(Field field) Add given field to list of index fields. | final public boolean | equals(Object other) | final protected void | fieldNames(DDLWriter writer) Concatenate all field names delimited by field delimiter and whitespace. | final public Field | getField(int index) Get index field at given index.
Parameters: index - Index of index field to return. | final public int | getFieldCount() Get number of index fields. | final public Table | getTable() Get table the foreign key is used for. | final public int | hashCode() | final public void | setTable(Table table) Set table the foreign key is used for. |
addField | final public void addField(Field field)(Code) | | Add given field to list of index fields.
Parameters: field - Field to add to list of index fields. |
fieldNames | final protected void fieldNames(DDLWriter writer)(Code) | | Concatenate all field names delimited by field delimiter and whitespace.
Parameters: writer - DDLWriter to write schema objects to. |
getField | final public Field getField(int index)(Code) | | Get index field at given index.
Parameters: index - Index of index field to return. Index field at given index. |
getFieldCount | final public int getFieldCount()(Code) | | Get number of index fields.
Number of index fields. |
getTable | final public Table getTable()(Code) | | Get table the foreign key is used for.
Table the foreign key is used for. |
hashCode | final public int hashCode()(Code) | | |
setTable | final public void setTable(Table table)(Code) | | Set table the foreign key is used for.
Parameters: table - Table the foreign key is used for. |
Fields inherited from org.castor.ddlgen.schemaobject.AbstractSchemaObject | final protected static int HASHFACTOR(Code)(Java Doc)
|
|
|
|