Class DataContractSpec.DCColumn

java.lang.Object
com.atlan.model.contracts.DataContractSpec.DCColumn
Enclosing class:
DataContractSpec

public static final class DataContractSpec.DCColumn extends Object
  • Constructor Details

  • Method Details

    • builder

      public static DataContractSpec.DCColumn.DCColumnBuilder<?,?> builder()
    • toBuilder

    • getName

      public String getName()
      Name of the column as it is defined in the source system (often technical).
    • getDisplayName

      public String getDisplayName()
      Alias for the column, to make its name more readable.
    • getDescription

      public String getDescription()
      Description of this column, for documentation purposes.
    • getIsPrimary

      public Boolean getIsPrimary()
      When true, this column is the primary key for the table.
    • getDataType

      public String getDataType()
      Physical data type of values in this column (e.g. varchar(20)).
    • getLogicalType

      public String getLogicalType()
      Logical data type of values in this column (e.g. string).
    • getInvalidFormat

      public String getInvalidFormat()
      Format of data to consider invalid.
    • getValidFormat

      public String getValidFormat()
      Format of data to consider valid.
    • getInvalidRegex

      public String getInvalidRegex()
      Regular expression to match invalid values.
    • getValidRegex

      public String getValidRegex()
      Regular expression to match valid values.
    • getMissingRegex

      public String getMissingRegex()
      Regular expression to match missing values.
    • getInvalidValues

      public List<String> getInvalidValues()
      Enumeration of values that should be considered invalid.
    • getValidValues

      public List<String> getValidValues()
      Enumeration of values that should be considered valid.
    • getMissingValues

      public List<String> getMissingValues()
      Enumeration of values that should be considered missing.
    • getNotNull

      public Boolean getNotNull()
      When true, this column cannot be empty (without values).
    • getValidLength

      public Long getValidLength()
      Fixed length for a string to be considered valid.
    • getValidMaxLength

      public Long getValidMaxLength()
      Maximum length for a string to be considered valid.
    • getValidMin

      public Double getValidMin()
      Minimum numeric value considered valid.
    • getValidMax

      public Double getValidMax()
      Maximum numeric value considered valid.
    • getValidMinLength

      public Long getValidMinLength()
      Minimum length for a string to be considered valid.
    • getUnique

      public Boolean getUnique()
      When true, this column must have unique values.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object