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

Packages that use SMColumn
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 SMColumn in com.ads.api.beans.sm

  Methods in com.ads.api.beans.sm that return SMColumn
  Modifier and Type
  Method
  Description
  `SMColumn`
  SMColumn.`addAssociationsList(com.ads.association.export.model.ExportedAssociation associationObj)`
  It will not add association to this object as it is being used internally.
  `SMColumn`
  SMColumn.`addColumnIndex(SMIndex columnIndex)`
  Method adds the columnIndex as specified.
  `SMColumn`
  SMColumn.`addExtendedProperty(KeyValue systemKeyValuesVo)`
  `SMColumn`
  SMColumn.`addSDIClassification(SDIClassification classification)`
  It adds the given sdiClassification object to the list.
  `SMColumn`
  SMColumn.`addTag(Tag tagvo)`
  `SMColumn`
  SMColumn.`addValidValues(CodeValue validValue)`
  `SMColumn`
  SMIndex.`getColumn(String columnName)`
  Returns the SMColumn object.
  `SMColumn`
  SMTable.`getColumn(String name)`
  Returns SMColumn Object for the specified name of the column.
  `SMColumn`
  SMColumn.`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.
  `SMColumn`
  SMColumn.`setColumnIndexes(List<SMIndex> columnIndexes)`
  Method sets the columnIndexes as specified.
  `SMColumn`
  SMColumn.`setExtendedProperties(List<KeyValue> extendedProperties)`
  Method sets the list of KeyValues to the column as specified.
  Methods in com.ads.api.beans.sm that return types with arguments of type SMColumn
  Modifier and Type
  Method
  Description
  `Collection<SMColumn>`
  SMIndex.`getColumns()`
  Returns the Collection of SMColumn objects.
  `Collection<SMColumn>`
  SMTable.`getColumns()`
  Returns the list of SMColumn objects.
  Methods in com.ads.api.beans.sm with parameters of type SMColumn
  Modifier and Type
  Method
  Description
  `void`
  SMIndex.`addColumn(SMColumn column)`
  Adds the SMColumn as specified.
  `void`
  SMTable.`addColumn(SMColumn column)`
  Adds the column as specified.
  `void`
  SMTable.`addColumn(String name, SMColumn column)`
  Adds the column specified with the details given as SMColumn.
  `void`
  SMTable.`addColumnByReferenceId(SMColumn column)`
  Adds the Column as specified.
  Method parameters in com.ads.api.beans.sm with type arguments of type SMColumn
  Modifier and Type
  Method
  Description
  `void`
  SMIndex.`setColumns(List<SMColumn> columns)`
  Adds the list of SMColumn objects as specified.

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

  Methods in com.ads.api.util that return SMColumn
  Modifier and Type
  Method
  Description
  `SMColumn`
  SystemManagerUtil.`getColumn(int columnId)`
  Returns SMColumn object for the specified columnId.
  `SMColumn`
  SystemManagerUtil.`getColumn(int columnId, int fillOptions)`
  Returns SMColumn object for the specified columnId.
  `SMColumn`
  SystemManagerUtil.`getColumn(int tableId, String columnName, int fillOptions)`
  Returns SMColumn object for the specified columnName of a particular table whose tableId also specified.
  `SMColumn`
  SystemManagerUtil.`getColumnByTableId(int tableId, String columnName)`
  Returns SMColumn Object for the specified tableId and columnName.
  Methods in com.ads.api.util that return types with arguments of type SMColumn
  Modifier and Type
  Method
  Description
  `List<SMColumn>`
  LineageUtil.`getColumnDetails(APIConstants.EndPointType endPointType, int mappingSequenceId)`
  Returns the List object for the specified mappingSequenceId.
  `Map<Integer,List<SMColumn>>`
  LineageUtil.`getColumnDetails(APIConstants.EndPointType endPointType, ArrayList<Integer> mappingSequenceIds)`
  Returns the Map<Integer, List> object for the specified list of mappingSequenceIds.
  `List<SMColumn>`
  LineageUtil.`getColumns(APIConstants.EndPointType endPointType, String systemName, String environmentName, String tableName, EnumSet<APIConstants.PropertiesType> propertiesTypes, String projectIds)`
  Returns the List objects for the specified systemName, environmentName and tableName.
  `Map<String,Map<String,Map<String,List<SMColumn>>>>`
  LineageUtil.`getColumns(APIConstants.EndPointType endPointType, HashMap<String,HashMap<String,ArrayList<String>>> systemEnvironmentTableMap, EnumSet<APIConstants.PropertiesType> propertiesTypes, String projectIds)`
  Returns the Map<String, Map<String, Map<String, List>>> object for the specified systemEnvironmentTableMap.
  `List<SMColumn>`
  SystemManagerUtil.`getColumns(int tableId)`
  Returns all the associated columns of the particular table as a list of column objects , for which specifying the tableId is mandatory in order to retrieve the columns.
  `List<SMColumn>`
  SystemManagerUtil.`getColumns(int tableId, int fillOptions)`
  Returns all the associated columns of the particular table as a list of column objects , for which specifying the tableId and fillOptions parameters are mandatory in order to retrieve the columns.
  `List<SMColumn>`
  SystemManagerUtil.`getColumns(List<Integer> ids, int fillOptions)`
  Returns the list of SMColumn objects for the specified list of columnIds along with fillOptions value.
  `List<SMColumn>`
  SystemManagerUtil.`getIndexColumns(int tableId, String indexName, int fillOptions)`
  Returns List of SMColumn objects for the specified tableId of which columns have the specified indexName as index where each column object contains details like column name,column datatype,column length and column precision etc..and also contains details of column indexes, column extended properties ,valid values and extended properties of valid values based on the fillOptions parameter value passed with reference/addition of `APIConstants.SMFillOptions`.
  `ArrayList<SMColumn>`
  SystemManagerUtil.`getTableColumns(int tableId)`
  Deprecated.
  since 8.2.1
  Methods in com.ads.api.util with parameters of type SMColumn
  Modifier and Type
  Method
  Description
  `RequestStatus`
  SystemManagerUtil.`createColumn(SMColumn column)`
  Inserts Column for the specified SMColumn Object.
  `RequestStatus`
  SystemManagerUtil.`updateColumn(SMColumn column, boolean useReferenceId)`
  Updates the Column for the specified SMColumn Object.

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

  Method parameters in com.ads.services.webservice.rest with type arguments of type SMColumn
  Modifier and Type
  Method
  Description
  `org.springframework.http.ResponseEntity`
  SystemResource.`createColumns(List<SMColumn> columns)`
  Creates the list of columns for the specified list of SMColumn objects.
  `org.springframework.http.ResponseEntity`
  SystemResource.`updateColumns(List<SMColumn> columns, boolean useReferenceId)`
  Updates the list of columns for the specified list of SMColumn objects and useReferenceId.