public class ExpectedColumn extends Object implements Comparable<ExpectedColumn>
Constructor and Description |
---|
ExpectedColumn(int columnNumber,
String key,
String dataType,
String precision,
String value)
Represents the description of a single column in terms of the table.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ExpectedColumn o) |
boolean |
equals(Object object)
Compares an instance of this type with a given object.
|
int |
getColumnNumber() |
DataType |
getDataType() |
String |
getKey() |
String |
getPrecision() |
String |
getValue() |
int |
hashCode() |
public ExpectedColumn(int columnNumber, String key, String dataType, String precision, String value)
columnNumber
- - represents the position in the tablekey
- - represents the values in the rows underneathdataType
- - used to compare the expected values and actual valuesprecision
- - used to avoid rounding errors in comparisonsvalue
- - the valuepublic int getColumnNumber()
public String getKey()
public DataType getDataType()
public String getPrecision()
public String getValue()
public int compareTo(ExpectedColumn o)
compareTo
in interface Comparable<ExpectedColumn>
public boolean equals(Object object)
Copyright © 2020. All rights reserved.