Package com.ads.api.beans.sm
Class SMIndex
java.lang.Object
com.ads.api.beans.sm.SMIndex
The SMIndex class contains several useful class fields and methods related to
SMIndex. These methods used for setting data to the current object and
getting data from the current object .
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the SMColumn as specified.Returns the SMColumn object.Returns the Collection of SMColumn objects.intgetId()Returns the id of the Index.getName()Returns the name of the Index.intReturns the ordinalPosition of the Index.getOwner()Returns the owner of the Index.Returns the sortOrder of the Index.intReturns the tableId of the Index.getType()Returns the type of the Index.Returns the uniqueness of the Index.voidsetColumns(List<SMColumn> columns) Adds the list of SMColumn objects as specified.voidsetId(int id) Method sets the id to the Index object as specified.voidMethod sets the name to the Index object as specified.voidsetOrdinalPosition(int ordinalPosition) Method sets the ordinalPosition to the Index object as specified.voidMethod sets the owner to the Index object as specified.voidsetSortOrder(String sortOrder) Method sets the sortOrder to the Index object as specified.voidsetTableId(int tableId) Method sets the tableId to the Index object as specified.voidMethod sets the type to the Index object as specified.voidsetUniqueness(String uniqueness) Method sets the uniqueness to the Index object as specified.
-
Constructor Details
-
SMIndex
public SMIndex()
-
-
Method Details
-
getId
public int getId()Returns the id of the Index.- Returns:
- id int.
-
setId
public void setId(int id) Method sets the id to the Index object as specified.- Parameters:
id- int
-
getTableId
public int getTableId()Returns the tableId of the Index.- Returns:
- tableId int.
-
setTableId
public void setTableId(int tableId) Method sets the tableId to the Index object as specified.- Parameters:
tableId- int
-
getOwner
Returns the owner of the Index.- Returns:
- owner String.
-
setOwner
Method sets the owner to the Index object as specified.- Parameters:
owner- String
-
getName
Returns the name of the Index.- Returns:
- name String.
-
setName
Method sets the name to the Index object as specified.- Parameters:
name- String
-
getType
Returns the type of the Index.- Returns:
- type String.
-
setType
Method sets the type to the Index object as specified.- Parameters:
type- String
-
getUniqueness
Returns the uniqueness of the Index.- Returns:
- uniqueness String.
-
setUniqueness
Method sets the uniqueness to the Index object as specified.- Parameters:
uniqueness- String
-
getSortOrder
Returns the sortOrder of the Index.- Returns:
- sortOrder String.
-
setSortOrder
Method sets the sortOrder to the Index object as specified.- Parameters:
sortOrder- String
-
getOrdinalPosition
public int getOrdinalPosition()Returns the ordinalPosition of the Index.- Returns:
- ordinalPosition int.
-
setOrdinalPosition
public void setOrdinalPosition(int ordinalPosition) Method sets the ordinalPosition to the Index object as specified.- Parameters:
ordinalPosition- int
-
getColumn
Returns the SMColumn object.- Parameters:
columnName- String.- Returns:
- SMColumn
-
getColumns
Returns the Collection of SMColumn objects.- Returns:
- Collection
-
addColumn
Adds the SMColumn as specified.- Parameters:
column- SMColumn Object
-
setColumns
Adds the list of SMColumn objects as specified.- Parameters:
columns- List
-