Class HDBTableIndexesModel
java.lang.Object
com.codbex.kronos.parser.hdbtable.model.HDBTableIndexesModel
The Class HDBTableIndexesModel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCheck for all index mandatory fields presence.Gets the index columns.Gets the index name.Gets the index type.getOrder()Gets the order.booleanisUnique()Checks if is unique.voidsetIndexColumns(Set<String> indexColumns) Sets the index columns.voidsetIndexName(String name) Sets the index name.voidsetIndexType(String indexType) Sets the index type.voidSets the order.voidsetUnique(boolean unique) Sets the unique.
-
Constructor Details
-
HDBTableIndexesModel
public HDBTableIndexesModel()
-
-
Method Details
-
getIndexName
Gets the index name.- Returns:
- the index name
-
setIndexName
Sets the index name.- Parameters:
name- the new index name
-
isUnique
public boolean isUnique()Checks if is unique.- Returns:
- true, if is unique
-
setUnique
public void setUnique(boolean unique) Sets the unique.- Parameters:
unique- the new unique
-
getOrder
Gets the order.- Returns:
- the order
-
setOrder
Sets the order.- Parameters:
order- the new order
-
getIndexColumns
Gets the index columns.- Returns:
- the index columns
-
setIndexColumns
Sets the index columns.- Parameters:
indexColumns- the new index columns
-
getIndexType
Gets the index type.- Returns:
- the index type
-
setIndexType
Sets the index type.- Parameters:
indexType- the new index type
-
checkForAllIndexMandatoryFieldsPresence
public void checkForAllIndexMandatoryFieldsPresence()Check for all index mandatory fields presence.
-