# Uses of Class
com.ads.api.beans.sm.SMTable

Packages that use SMTable
Package
Description
com.ads.api.beans.sm
Contains Collection Classes,Java Bean Classes which are specific to System, Environment,Table, Column and Node.
com.ads.api.util
Contains Utility Classes, Collection Classes, Java Bean Classes which are specific to System, Environment, Table, Column, Mappings, Subject, KeyValue Pairs, ROle, Business Glossary Catalog, Document etc...
com.ads.services.webservice.rest
Contains Resource Classes, methods related to System, Environment, Table, Column, Mappings, Subject, Business Catalogs, Tags, Associations, Files etc., includes the user authentication for the REST services methods.

- ## Uses of SMTable in com.ads.api.beans.sm

  Methods in com.ads.api.beans.sm that return SMTable
  Modifier and Type
  Method
  Description
  `SMTable`
  SMTable.`addAssociationsList(com.ads.association.export.model.ExportedAssociation associationObj)`
  It will not add association to this object as it is being used internally.
  `SMTable`
  SMTable.`addExtendedProperty(KeyValue extendedProperty)`
  Adds the KeyValue Object for the specified table.
  `SMTable`
  SMTable.`addSDIClassification(SDIClassification classification)`
  It adds the given sdiClassification object to the list.
  `SMTable`
  SMTable.`addTag(Tag tagvo)`
  `SMTable`
  SMSchema.`getComponent(String tableName)`
  Returns the SMTable Object for the specified tableName.
  `SMTable`
  SMTable.`getParentTable()`
  Returns the parentTable object of the table object.
  `SMTable`
  SMSchema.`getSynonym(String tableName)`
  Returns the SMTable Object for the specified tableName.
  `SMTable`
  SMColumn.`getTable()`
  Returns the SMTable object.
  `SMTable`
  SMSchema.`getTable(String tableName)`
  Returns the SMTable Object for the specified tableName.
  `SMTable`
  SMSchema.`getTable(String tableName, SMTable.SMTableType tableType)`
  Returns the SMTable Object for the specified tableName.
  `SMTable`
  SMSchema.`getView(String tableName)`
  Returns the SMTable Object for the specified tableName.
  `SMTable`
  SMTable.`setAssociationsList(List<com.ads.association.export.model.ExportedAssociation> associations)`
  It will not set any associations particular to this object as it is being used internally.
  `SMTable`
  SMTable.`setColumnIndexes(List<SMIndex> columnIndexes)`
  Method sets the list of columnIndexes as specified.
  `SMTable`
  SMTable.`setExtendedProperties(List<KeyValue> extendedProperties)`
  Method sets the list of KeyValue objects as specified.
  Methods in com.ads.api.beans.sm that return types with arguments of type SMTable
  Modifier and Type
  Method
  Description
  `Collection<SMTable>`
  SMSchema.`getAllTables()`
  Returns the list of SMTable objects.
  `Collection<SMTable>`
  SMSchema.`getEntities(SMTable.SMTableType type)`
  Returns the list of SMTable objects.
  `Collection<SMTable>`
  SMSchema.`getSynonyms()`
  Returns the list of SMTable objects of type SYNONYM.
  `Collection<SMTable>`
  SMEnvironment.`getTables()`
  Returns the list of SMTable objects.
  `Collection<SMTable>`
  SMSchema.`getTables()`
  Returns the list of SMTable objects.
  `Collection<SMTable>`
  SMSchema.`getViews()`
  Returns the list of SMTable objects of type VIEW.
  Methods in com.ads.api.beans.sm with parameters of type SMTable
  Modifier and Type
  Method
  Description
  `void`
  SMEnvironment.`addTable(SMTable table)`
  Adds the table to the SMTable Object.
  `void`
  SMEnvironment.`addTable(String name, SMTable table)`
  Adds the table to SMTable Object as specified in name.
  `void`
  SMSchema.`addTable(SMTable table)`
  Adds Table as specified in SMTable Object.
  `void`
  SMSchema.`addTable(String name, SMTable table)`
  Adds the SMTable Object for the specified tableName.
  `void`
  SMEnvironment.`addTableByReferenceId(SMTable table)`
  Adds the table to the SMTable Object by referenceId.
  `void`
  SMTable.`setParentTable(SMTable parentTable)`
  Sets the parentTable as specified.
  `void`
  SMColumn.`setTable(SMTable _table)`
  Method sets the _table as specified.

- ## Uses of SMTable in com.ads.api.util

  Methods in com.ads.api.util that return SMTable
  Modifier and Type
  Method
  Description
  `SMTable`
  SystemManagerUtil.`getTable(int tableId)`
  Returns SMTable object for the specified tableId.
  `SMTable`
  SystemManagerUtil.`getTable(int tableId, int fillOptions)`
  Returns SMTable object for the specified tableId with fillOptions.
  `SMTable`
  SystemManagerUtil.`getTableByEnvironmentId(int environmentId, String tableName)`
  Returns SMTable object for the specified environmentId and tableName.
  Methods in com.ads.api.util that return types with arguments of type SMTable
  Modifier and Type
  Method
  Description
  `ArrayList<SMTable>`
  SystemManagerUtil.`getEnvironmentTables(int environmentId)`
  Returns the List of tables for the specified environmentId.
  `List<SMTable>`
  LineageUtil.`getTables(APIConstants.EndPointType endPointType, String systemName, String environmentName, String projectIds)`
  Returns the List objects for the specified systemName and environmentName.
  `Map<String,Map<String,List<SMTable>>>`
  LineageUtil.`getTables(APIConstants.EndPointType endPointType, HashMap<String,ArrayList<String>> systemEnvironmentMap, String projectIds)`
  Returns the Map<String, Map<String, List>> object for the specified systemEnvironmentMap.
  `List<SMTable>`
  SystemManagerUtil.`getTables(List<Integer> ids, int fillOptions)`
  Returns the list of SMTable objects for the specified list of tableIds along with fillOptions value.
  Methods in com.ads.api.util with parameters of type SMTable
  Modifier and Type
  Method
  Description
  `RequestStatus`
  SystemManagerUtil.`createTable(SMTable table)`
  Inserts new Table for the specified SMTable Object.
  `RequestStatus`
  SystemManagerUtil.`updateTable(SMTable table, boolean useReferenceId)`
  Updates Table for the specified SMTable Object and useReferenceId.

- ## Uses of SMTable in com.ads.services.webservice.rest

  Method parameters in com.ads.services.webservice.rest with type arguments of type SMTable
  Modifier and Type
  Method
  Description
  `org.springframework.http.ResponseEntity`
  SystemResource.`createTables(List<SMTable> tables)`
  Inserts new tables for the specified SMTable objects list.
  `org.springframework.http.ResponseEntity`
  SystemResource.`updateTables(List<SMTable> tables, boolean useReferenceId)`
  Updates the list of tables for the specified list of SMTable objects and useReferenceId.