Package com.ads.api.beans.sm
Class SMTable
java.lang.Object
com.ads.api.beans.common.Node
com.ads.api.beans.sm.SMTable
This class provides some beans control methods related to Table and the Environment in which the Table is created and its related Audit History Details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe constants of this enumerated type provides a simple classification of the declared elements.Nested classes/interfaces inherited from class com.ads.api.beans.common.Node
Node.Depth, Node.InputDataType, Node.NodeType, Node.ReturnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssociationsList(com.ads.association.export.model.ExportedAssociation associationObj) It will not add association to this object as it is being used internally.voidAdds the column as specified.voidAdds the column specified with the details given as SMColumn.voidaddColumnByReferenceId(SMColumn column) Adds the Column as specified.addExtendedProperty(KeyValue extendedProperty) Adds the KeyValue Object for the specified table.addSDIClassification(SDIClassification classification) It adds the given sdiClassification object to the list.Returns the actualTableName.Returns the associatedBusinessTerm value.intReturns the associatedBusinessTermId value.List<com.ads.association.export.model.ExportedAssociation>It will not return any associations particular to this object as it is being used internally.Returns the auditHistory details of the table object.Returns the businessEntityType value.Returns SMColumn Object for the specified name of the column.Returns the list of columnIndexes objects.Returns the list of SMColumn objects.intReturns the dataProfileScoreId Value.floatReturns the dataQualityScore value.Deprecated.Returns the declarationPath Value.Returns the dqToolProfileId value.Returns the dqToolUpdatedTime value.Returns the environment object of the table object.intReturns the environmentId.Returns the expandedLogicalName value.Returns the Listobjects. Returns the fileLocation.Returns the fileType.floatDeprecated.Returns the logicalTableName.Returns the metadataSource Value.Returns the parentTable object of the table object.Returns the physicalTableName.Returns the referenceId of the table object.Returns the schemaName of the table object.intDeprecated.Deprecated.Returns the list of sdiClassifications of the table.Deprecated.Returns the status of the table object.intgetSTMId()Deprecated.Returns the systemEnvironmentName.intReturns the systemId of the table object.Returns the systemName and this can be accessed through Lineage API only.Returns the tableAlias of the table object.Returns the tableClass of the table object.Returns the tableComments.Returns the tableDefinition.intReturns the tableId of the table object.Returns the tableName.Returns the tableReferenceId.Returns the tableType.getTags()intReturns the totalRowsCount.Returns the userDefined Field.Returns the userDefined field.Returns the userDefined Field.Returns the userDefined Field.Returns the userDefined Field.Returns the userDefined Field.Returns the userDefined field.Returns the userDefined field.Returns the userDefined field.Returns the userDefined field.Returns the work flow status of the table object.booleanReturns the elnExpanded value.booleanisMarked()Returns true if the table is marked.booleanReturns the rootTable of the table object.booleanReturns the sdiFlag Value.booleanReturns the usedInGapAnalysis value.booleanisValid()Returns the valid value.static StringparseSchemaName(String tableName) parses the specified tableName and returns the schema name.static StringparseTableName(String tableName) parses the specified tableName and returns the table name.voidsetActualTableName(String actualTableName) Sets the actualTableName as specified.voidsetAssociatedBusinessTerm(String associatedBusinessTerm) Method sets the associatedBusinessTerm to the table as specified.voidsetAssociatedBusinessTermId(int associatedBusinessTermId) Method sets the associatedBusinessTermId to the table as specified.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.voidsetAuditHistory(AuditHistory auditHistory) Sets the auditHistory as specified.voidsetBusinessEntityType(String businessEntityType) Method sets the businessEntityType as specified.setColumnIndexes(List<SMIndex> columnIndexes) Method sets the list of columnIndexes as specified.voidsetDataProfileScoreId(int dataProfileScoreId) Method sets the dataProfileScoreId as specified.voidsetDataQualityScore(float dataQualityScore) Method sets the dataQualityScore as specified.voidsetDataStewardName(String dataStewardName) Deprecated.voidsetDeclarationPath(String declarationPath) Method sets the declarationPath as specified.voidsetDqToolProfileId(int dqToolProfileId) Deprecated.voidsetDqToolProfileId(String dqToolProfileId) Method sets the dqToolProfileId as specified.voidsetDqToolUpdatedTime(String dqToolUpdatedTime) Method sets the dqToolUpdatedTime as specified.voidsetElnExpanded(boolean elnExpanded) Method sets the elnExpanded to the table as specified.voidsetEnvironment(SMEnvironment environment) Sets the environment as specified.voidsetEnvironmentId(int environmentId) Sets the environmentId as specified.voidsetExpandedLogicalName(String expandedLogicalName) Method sets the expandedLogicalName to the table as specified.setExtendedProperties(List<KeyValue> extendedProperties) Method sets the list of KeyValue objects as specified.voidsetFileLocation(String fileLocation) Sets the fileLocationvoidsetFileType(String fileType) Sets the fileType as specified.voidsetImpactScore(float impactScore) Deprecated.voidsetLogicalTableName(String logicalTableName) Sets the logicalTableName as specified.voidsetMarked(boolean marked) Method sets the marked as specified.voidsetMetadataSource(String metadataSource) Method sets the metadataSource as specified.voidsetParentTable(SMTable parentTable) Sets the parentTable as specified.voidsetPhysicalTableName(String physicalTableName) Sets the physicalTableName as specified.voidsetReferenceId(String referenceId) Sets the referenceId as specified.voidsetRootTable(boolean rootTable) Sets the rootTable as specified.voidsetSchemaName(String schemaName) Sets the schemaName as specified.voidsetSdiClassificationId(int sdiClassificationId) Deprecated.voidsetSdiClassificationName(String sdiClassificationName) Deprecated.voidsetSDIClassifications(List<SDIClassification> sdiClassifications) Method sets the list of sdiClassifications to the table as specified.voidsetSdiDescription(String sdiDescription) Deprecated.voidsetSdiFlag(boolean sdiFlag) Method sets the sdiFlag to the environment as specified.voidSets the status of the table as specified.voidsetSTMId(int stmId) Deprecated.voidsetSystemEnvironmentName(String systemEnvironmentName) Sets the systemEnvironmentName as specified.voidsetSystemId(int systemId) Sets the systemId as specified.voidsetSystemName(String systemName) Method sets the systemName as specified and can be set from Lineage API only.voidsetTableAlias(String tableAlias) Sets the tableAlias as specified.voidsetTableClass(String tableClass) Sets the tableClass as specified.voidsetTableComments(String tableComments) Sets the tableComments as specified.voidsetTableDefinition(String tableDefinition) Sets the tableDefinition as specified.voidsetTableId(int tableId) Sets the tableId to the table as specified.voidsetTableName(String tableName) Sets the tableName as specified.voidsetTableReferenceId(String tableReferenceId) Sets the tableReferenceId as specified.voidsetTableType(SMTable.SMTableType tableType) Sets the tableType as specified.voidvoidsetTotalRowsCount(int totalRowsCount) Sets the totalRowsCount as specified.voidsetUsedInGapAnalysis(boolean usedInGapAnalysis) Sets the usedInGapAnalysis value as specified.voidsetUserDefined1(String userDefined1) Sets the userDefined Field as specified.voidsetUserDefined10(String userDefined10) Sets the userDefined field as specified.voidsetUserDefined2(String userDefined2) Sets the userDefined Field as specified.voidsetUserDefined3(String userDefined3) Sets the userDefined Field as specified.voidsetUserDefined4(String userDefined4) Sets the userDefined Field as specified.voidsetUserDefined5(String userDefined5) Sets the userDefined Field as specified.voidsetUserDefined6(String userDefined6) Sets the userDefined field as specified.voidsetUserDefined7(String userDefined7) Sets the userDefined field as specified.voidsetUserDefined8(String userDefined8) Sets the userDefined field as specified.voidsetUserDefined9(String userDefined9) Sets the userDefined field as specified.voidsetValid(boolean valid) Sets the valid value as specified.voidsetWorkflowStatus(String workflowStatus) Sets the work flow status to the table as specified.toString()Methods inherited from class com.ads.api.beans.common.Node
addChildNode, getChildNodes, getEndPointType, getNodeId, getNodeType, getObjectTypeId, setChildNodes, setEndPointType, setNodeId, setNodeType, setObjectTypeId
-
Constructor Details
-
SMTable
public SMTable() -
SMTable
-
-
Method Details
-
getEnvironmentId
public int getEnvironmentId()Returns the environmentId.- Returns:
- int environmentId
-
setEnvironmentId
public void setEnvironmentId(int environmentId) Sets the environmentId as specified.- Parameters:
environmentId- int
-
getTableName
Returns the tableName.- Returns:
- String tableName
-
setTableName
Sets the tableName as specified.- Parameters:
tableName- String
-
getSystemEnvironmentName
Returns the systemEnvironmentName.- Returns:
- String systemEnvironmentName
-
setSystemEnvironmentName
Sets the systemEnvironmentName as specified.- Parameters:
systemEnvironmentName- String
-
getTableDefinition
Returns the tableDefinition.- Returns:
- String tableDefinition
-
setTableDefinition
Sets the tableDefinition as specified.- Parameters:
tableDefinition- String
-
getTotalRowsCount
public int getTotalRowsCount()Returns the totalRowsCount.- Returns:
- int totalRowsCount
-
setTotalRowsCount
public void setTotalRowsCount(int totalRowsCount) Sets the totalRowsCount as specified.- Parameters:
totalRowsCount- int
-
getTableType
Returns the tableType. TableType can be TABLE, VIEW, SYNONYM OR COMPONENT.- Returns:
- SMTable Object
-
setTableType
Sets the tableType as specified.- Parameters:
tableType- SMTable Object
-
getLogicalTableName
Returns the logicalTableName.- Returns:
- String logicalTableName
-
setLogicalTableName
Sets the logicalTableName as specified.- Parameters:
logicalTableName- String
-
getPhysicalTableName
Returns the physicalTableName.- Returns:
- String physicalTableName
-
setPhysicalTableName
Sets the physicalTableName as specified.- Parameters:
physicalTableName- String
-
isValid
public boolean isValid()Returns the valid value.- Returns:
- boolean valid
-
setValid
public void setValid(boolean valid) Sets the valid value as specified.- Parameters:
valid- boolean
-
getActualTableName
Returns the actualTableName.- Returns:
- String actualTableName
-
setActualTableName
Sets the actualTableName as specified.- Parameters:
actualTableName- String
-
getTableReferenceId
Returns the tableReferenceId.- Returns:
- String tableReferenceId
-
setTableReferenceId
Sets the tableReferenceId as specified.- Parameters:
tableReferenceId- String
-
isUsedInGapAnalysis
public boolean isUsedInGapAnalysis()Returns the usedInGapAnalysis value.- Returns:
- boolean usedInGapAnalysis
-
setUsedInGapAnalysis
public void setUsedInGapAnalysis(boolean usedInGapAnalysis) Sets the usedInGapAnalysis value as specified.- Parameters:
usedInGapAnalysis- boolean
-
getUserDefined1
Returns the userDefined Field.- Returns:
- String userDefined1
-
setUserDefined1
Sets the userDefined Field as specified.- Parameters:
userDefined1- String
-
getUserDefined2
Returns the userDefined Field.- Returns:
- String userDefined2
-
setUserDefined2
Sets the userDefined Field as specified.- Parameters:
userDefined2- String
-
getUserDefined3
Returns the userDefined Field.- Returns:
- String userDefined3
-
setUserDefined3
Sets the userDefined Field as specified.- Parameters:
userDefined3- String
-
getUserDefined4
Returns the userDefined Field.- Returns:
- String userDefined4
-
setUserDefined4
Sets the userDefined Field as specified.- Parameters:
userDefined4- String
-
getUserDefined5
Returns the userDefined Field.- Returns:
- String userDefined5
-
setUserDefined5
Sets the userDefined Field as specified.- Parameters:
userDefined5- String
-
getSdiClassificationId
public int getSdiClassificationId()Deprecated.Returns the sdiClassificationId Value.- Returns:
- sdiClassificationId int
-
setSdiClassificationId
public void setSdiClassificationId(int sdiClassificationId) Deprecated.Method sets the sdiClassificationId to the system as specified.- Parameters:
sdiClassificationId- int
-
getSdiClassificationName
Deprecated.Returns the sdiClassificationId Value.- Returns:
- sdiClassificationId int
-
setSdiClassificationName
Deprecated.Method sets the sdiClassificationName to the environment as specified.- Parameters:
sdiClassificationName- String
-
isSdiFlag
public boolean isSdiFlag()Returns the sdiFlag Value.- Returns:
- sdiFlag boolean
-
setSdiFlag
public void setSdiFlag(boolean sdiFlag) Method sets the sdiFlag to the environment as specified.- Parameters:
sdiFlag- boolean
-
getSdiDescription
Deprecated.Returns the sdiDescription Value.- Returns:
- sdiDescription String
-
setSdiDescription
Deprecated.Method sets the sdiDescription to the environment as specified.- Parameters:
sdiDescription- String
-
getSDIClassifications
Returns the list of sdiClassifications of the table.- Returns:
- sdiClassifications List
-
setSDIClassifications
Method sets the list of sdiClassifications to the table as specified.- Parameters:
sdiClassifications- List
-
addSDIClassification
It adds the given sdiClassification object to the list.- Parameters:
classification-- Returns:
- SMTable
-
getUserDefined6
Returns the userDefined field.- Returns:
- String userDefined6
-
setUserDefined6
Sets the userDefined field as specified.- Parameters:
userDefined6- String
-
getUserDefined7
Returns the userDefined field.- Returns:
- userDefined7 String
-
setUserDefined7
Sets the userDefined field as specified.- Parameters:
userDefined7- String
-
getUserDefined8
Returns the userDefined field.- Returns:
- String userDefined8
-
setUserDefined8
Sets the userDefined field as specified.- Parameters:
userDefined8- String
-
getUserDefined9
Returns the userDefined field.- Returns:
- String userDefined9
-
setUserDefined9
Sets the userDefined field as specified.- Parameters:
userDefined9- String
-
getUserDefined10
Returns the userDefined field.- Returns:
- String userDefined10
-
setUserDefined10
Sets the userDefined field as specified.- Parameters:
userDefined10- String
-
getTableComments
Returns the tableComments.- Returns:
- String tableComments
-
setTableComments
Sets the tableComments as specified.- Parameters:
tableComments- String
-
isElnExpanded
public boolean isElnExpanded()Returns the elnExpanded value.- Returns:
- elnExpanded boolean
-
setElnExpanded
public void setElnExpanded(boolean elnExpanded) Method sets the elnExpanded to the table as specified.- Parameters:
elnExpanded- boolean
-
getExpandedLogicalName
Returns the expandedLogicalName value.- Returns:
- expandedLogicalName String
-
setExpandedLogicalName
Method sets the expandedLogicalName to the table as specified.- Parameters:
expandedLogicalName- String
-
getAssociatedBusinessTerm
Returns the associatedBusinessTerm value.- Returns:
- associatedBusinessTerm String
-
setAssociatedBusinessTerm
Method sets the associatedBusinessTerm to the table as specified.- Parameters:
associatedBusinessTerm- String
-
getAssociatedBusinessTermId
public int getAssociatedBusinessTermId()Returns the associatedBusinessTermId value.- Returns:
- associatedBusinessTermId int
-
setAssociatedBusinessTermId
public void setAssociatedBusinessTermId(int associatedBusinessTermId) Method sets the associatedBusinessTermId to the table as specified.- Parameters:
associatedBusinessTermId- int
-
getFileType
Returns the fileType.- Returns:
- String fileType
-
setFileType
Sets the fileType as specified.- Parameters:
fileType- String
-
getFileLocation
Returns the fileLocation.- Returns:
- fileLocation String
-
setFileLocation
Sets the fileLocation- Parameters:
fileLocation-
-
getTableClass
Returns the tableClass of the table object.- Returns:
- String tableClass
-
setTableClass
Sets the tableClass as specified.- Parameters:
tableClass- String
-
getTableAlias
Returns the tableAlias of the table object.- Returns:
- String tableAlias
-
setTableAlias
Sets the tableAlias as specified.- Parameters:
tableAlias- String
-
getStatus
Returns the status of the table object.- Returns:
- String status
-
setStatus
Sets the status of the table as specified.- Parameters:
status- String
-
getWorkflowStatus
Returns the work flow status of the table object.- Returns:
- String workflowStatus
-
setWorkflowStatus
Sets the work flow status to the table as specified.- Parameters:
workflowStatus- String
-
getTableId
public int getTableId()Returns the tableId of the table object.- Returns:
- int tableId
-
setTableId
public void setTableId(int tableId) Sets the tableId to the table as specified.- Parameters:
tableId- int
-
isRootTable
public boolean isRootTable()Returns the rootTable of the table object.- Returns:
- rootTable boolean
-
setRootTable
public void setRootTable(boolean rootTable) Sets the rootTable as specified.- Parameters:
rootTable- boolean
-
getAuditHistory
Returns the auditHistory details of the table object.- Returns:
- AuditHistory Object
-
setAuditHistory
Sets the auditHistory as specified.- Parameters:
auditHistory- AuditHistory Object
-
getSystemId
public int getSystemId()Returns the systemId of the table object.- Returns:
- int systemId
-
setSystemId
public void setSystemId(int systemId) Sets the systemId as specified.- Parameters:
systemId- int
-
getDataStewardName
Deprecated.Returns the dataStewardName Value.- Returns:
- dataStewardName String
-
setDataStewardName
Deprecated.Method sets the dataStewardName as specified.- Parameters:
dataStewardName- String
-
getSchemaName
Returns the schemaName of the table object.- Returns:
- schemaName - String
-
setSchemaName
Sets the schemaName as specified.- Parameters:
schemaName- String
-
getEnvironment
Returns the environment object of the table object.- Returns:
- environment - SMEnvironment
-
setEnvironment
Sets the environment as specified.- Parameters:
environment- SMEnvironment
-
getParentTable
Returns the parentTable object of the table object.- Returns:
- parentTable - SMTable
-
setParentTable
Sets the parentTable as specified.- Parameters:
parentTable- SMTable
-
getReferenceId
Returns the referenceId of the table object.- Returns:
- referenceId - String
-
setReferenceId
Sets the referenceId as specified.- Parameters:
referenceId- String
-
getColumn
Returns SMColumn Object for the specified name of the column.- Parameters:
name- String- Returns:
- SMColumn Object
-
getColumns
Returns the list of SMColumn objects.- Returns:
- SMColumn objects Collection
-
addColumn
Adds the column specified with the details given as SMColumn.- Parameters:
name- Stringcolumn- String
-
addColumn
Adds the column as specified.- Parameters:
column- String
-
addColumnByReferenceId
Adds the Column as specified.- Parameters:
column- String
-
parseSchemaName
parses the specified tableName and returns the schema name.- Parameters:
tableName- String- Returns:
- schemaName - String
-
parseTableName
parses the specified tableName and returns the table name.- Parameters:
tableName- String- Returns:
- tableName - String
-
getDeclarationPath
Returns the declarationPath Value.- Returns:
- declarationPath String
-
setDeclarationPath
Method sets the declarationPath as specified.- Parameters:
declarationPath- String
-
getDataProfileScoreId
public int getDataProfileScoreId()Returns the dataProfileScoreId Value.- Returns:
- dataProfileScoreId int
-
setDataProfileScoreId
public void setDataProfileScoreId(int dataProfileScoreId) Method sets the dataProfileScoreId as specified.- Parameters:
dataProfileScoreId- int
-
getSystemName
Returns the systemName and this can be accessed through Lineage API only.- Returns:
- systemName String
-
setSystemName
Method sets the systemName as specified and can be set from Lineage API only.- Parameters:
systemName- String
-
isMarked
public boolean isMarked()Returns true if the table is marked.- Returns:
- marked boolean
-
setMarked
public void setMarked(boolean marked) Method sets the marked as specified.- Parameters:
marked- boolean
-
getSTMId
public int getSTMId()Deprecated.Returns the stmId value of the table object.- Returns:
- stmId - int
-
setSTMId
public void setSTMId(int stmId) Deprecated.Sets the stmId as specified.- Parameters:
stmId- int
-
getMetadataSource
Returns the metadataSource Value.- Returns:
- metadataSource String
-
setMetadataSource
Method sets the metadataSource as specified.- Parameters:
metadataSource- String
-
getExtendedProperties
Returns the Listobjects. - Returns:
- extendedProperties List
-
getDqToolProfileId
Returns the dqToolProfileId value.- Returns:
- dqToolProfileId String.
-
setDqToolProfileId
Deprecated. -
setDqToolProfileId
Method sets the dqToolProfileId as specified.- Parameters:
dqToolProfileId-
-
getDataQualityScore
public float getDataQualityScore()Returns the dataQualityScore value.- Returns:
- dataQualityScore float.
-
getBusinessEntityType
Returns the businessEntityType value.- Returns:
- businessEntityType String
-
setBusinessEntityType
Method sets the businessEntityType as specified.- Parameters:
businessEntityType- String
-
setDataQualityScore
public void setDataQualityScore(float dataQualityScore) Method sets the dataQualityScore as specified.- Parameters:
dataQualityScore-
-
getImpactScore
Deprecated. -
setImpactScore
Deprecated. -
getDqToolUpdatedTime
Returns the dqToolUpdatedTime value.- Returns:
- dqToolUpdatedTime String
-
setDqToolUpdatedTime
Method sets the dqToolUpdatedTime as specified.- Parameters:
dqToolUpdatedTime-
-
setExtendedProperties
Method sets the list of KeyValue objects as specified.- Parameters:
extendedProperties- List- Returns:
- SMTable object.
-
addExtendedProperty
Adds the KeyValue Object for the specified table.- Parameters:
extendedProperty- KeyValue- Returns:
- SMTable object.
-
getTags
-
setTags
-
addTag
-
getAssociationsList
It will not return any associations particular to this object as it is being used internally. Please use Associations api to fetch the associations.- Returns:
- list of associations
-
setAssociationsList
public 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.- Parameters:
associations-- Returns:
-
addAssociationsList
public SMTable addAssociationsList(com.ads.association.export.model.ExportedAssociation associationObj) It will not add association to this object as it is being used internally.- Parameters:
associationObj-- Returns:
-
getColumnIndexes
Returns the list of columnIndexes objects.- Returns:
- columnIndexes List
-
setColumnIndexes
Method sets the list of columnIndexes as specified.- Parameters:
columnIndexes- List
-
toString
-