org.apache.ws.jaxme.sqls.impl

Class IndexImpl

Implemented Interfaces:
ColumnSet, Index

public class IndexImpl
extends ColumnSetImpl
implements Index

Author:
Jochen Wiedmann

Nested Class Summary

static class
IndexImpl.NameImpl

Method Summary

void
addColumn(String pName)
void
addColumn(Column pColumn)
void
addColumn(Column.Name pName)
Iterator
getColumns()
Index.Name
getName()
boolean
isPrimaryKey()
boolean
isUnique()
void
setName(String pName)
void
setName(Index.Name pName)

Methods inherited from class org.apache.ws.jaxme.sqls.impl.ColumnSetImpl

getTable

Method Details

addColumn

public void addColumn(String pName)
Specified by:
addColumn in interface Index

addColumn

public void addColumn(Column pColumn)
Specified by:
addColumn in interface Index

addColumn

public void addColumn(Column.Name pName)
Specified by:
addColumn in interface Index

getColumns

public Iterator getColumns()
Specified by:
getColumns in interface ColumnSet

getName

public Index.Name getName()
Specified by:
getName in interface Index

isPrimaryKey

public boolean isPrimaryKey()
Specified by:
isPrimaryKey in interface Index

isUnique

public boolean isUnique()
Specified by:
isUnique in interface Index

setName

public void setName(String pName)
Specified by:
setName in interface Index

setName

public void setName(Index.Name pName)
Specified by:
setName in interface Index