net.java.ao.schema.ddl
Class DDLIndex
java.lang.Object
net.java.ao.schema.ddl.DDLIndex
public class DDLIndex
- extends java.lang.Object
Database-agnostic reprensentation of a general field index
statement (not related to full-text indexing). To save on
object creation, as well as to simplify schema parsing, table
and field names are stored rather than full DDL
representations. This class also defines the convention
imposed to generate the names of field indexes. It is
important that all DDL renderers (i.e. database providers)
observe this convention, else migrations will do strange things.
- Author:
- Daniel Spiewak
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DDLIndex
public DDLIndex()
getTable
public java.lang.String getTable()
setTable
public void setTable(java.lang.String table)
getField
public java.lang.String getField()
setField
public void setField(java.lang.String field)
getType
public TypeInfo<?> getType()
setType
public void setType(TypeInfo<?> type)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007-2012. All Rights Reserved.