net.java.ao.schema.ddl
Class DDLIndex
java.lang.Object
net.java.ao.schema.ddl.DDLIndex
public class DDLIndex
- extends 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
DDLIndex
public DDLIndex()
getTable
public String getTable()
setTable
public void setTable(String table)
getField
public String getField()
setField
public void setField(String field)
getType
public TypeInfo<?> getType()
setType
public void setType(TypeInfo<?> type)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2007-2014. All Rights Reserved.