public class SMIndex
extends java.lang.Object
Constructor and Description |
---|
SMIndex() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(SMColumn column)
Adds the SMColumn as specified.
|
SMColumn |
getColumn(java.lang.String columnName)
Returns the SMColumn object.
|
java.util.Collection<SMColumn> |
getColumns()
Returns the Collection of SMColumn objects.
|
int |
getId()
Returns the id of the Index.
|
java.lang.String |
getName()
Returns the name of the Index.
|
int |
getOrdinalPosition()
Returns the ordinalPosition of the Index.
|
java.lang.String |
getOwner()
Returns the owner of the Index.
|
java.lang.String |
getSortOrder()
Returns the sortOrder of the Index.
|
int |
getTableId()
Returns the tableId of the Index.
|
java.lang.String |
getType()
Returns the type of the Index.
|
java.lang.String |
getUniqueness()
Returns the uniqueness of the Index.
|
void |
setColumns(java.util.List<SMColumn> columns)
Adds the list of SMColumn objects as specified.
|
void |
setId(int id)
Method sets the id to the Index object as specified.
|
void |
setName(java.lang.String name)
Method sets the name to the Index object as specified.
|
void |
setOrdinalPosition(int ordinalPosition)
Method sets the ordinalPosition to the Index object as specified.
|
void |
setOwner(java.lang.String owner)
Method sets the owner to the Index object as specified.
|
void |
setSortOrder(java.lang.String sortOrder)
Method sets the sortOrder to the Index object as specified.
|
void |
setTableId(int tableId)
Method sets the tableId to the Index object as specified.
|
void |
setType(java.lang.String type)
Method sets the type to the Index object as specified.
|
void |
setUniqueness(java.lang.String uniqueness)
Method sets the uniqueness to the Index object as specified.
|
public int getId()
public void setId(int id)
id
- intpublic int getTableId()
public void setTableId(int tableId)
tableId
- intpublic java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner
- Stringpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- Stringpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- Stringpublic java.lang.String getUniqueness()
public void setUniqueness(java.lang.String uniqueness)
uniqueness
- Stringpublic java.lang.String getSortOrder()
public void setSortOrder(java.lang.String sortOrder)
sortOrder
- Stringpublic int getOrdinalPosition()
public void setOrdinalPosition(int ordinalPosition)
ordinalPosition
- intpublic SMColumn getColumn(java.lang.String columnName)
columnName
- String.public java.util.Collection<SMColumn> getColumns()
public void addColumn(SMColumn column)
column
- SMColumn Objectpublic void setColumns(java.util.List<SMColumn> columns)
columns
- List