Class DGIWGValidationError


  • public class DGIWGValidationError
    extends Object
    DGIWG (Defence Geospatial Information Working Group) validation error
    Since:
    6.6.0
    Author:
    osbornb
    • Constructor Detail

      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String column,
                                    String value,
                                    String constraint,
                                    DGIWGRequirement requirement)
        Constructor
        Parameters:
        table - table name
        column - column name
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String column,
                                    Number value,
                                    String constraint,
                                    DGIWGRequirement requirement)
        Constructor
        Parameters:
        table - table name
        column - column name
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String column,
                                    Number value,
                                    Number constraint,
                                    DGIWGRequirement requirement)
        Constructor
        Parameters:
        table - table name
        column - column name
        value - error causing value
        constraint - constraint value
        requirement - requirement
      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String value,
                                    String constraint,
                                    DGIWGRequirement requirement)
        Constructor
        Parameters:
        table - table name
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
      • DGIWGValidationError

        public DGIWGValidationError​(String value,
                                    String constraint,
                                    DGIWGRequirement requirement)
        Constructor
        Parameters:
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
      • DGIWGValidationError

        public DGIWGValidationError​(String constraint,
                                    DGIWGRequirement requirement)
        Constructor
        Parameters:
        constraint - constraint or error description
        requirement - requirement
      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String value,
                                    String constraint,
                                    DGIWGRequirement requirement,
                                    DGIWGValidationKey... primaryKeys)
        Constructor
        Parameters:
        table - table name
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
        primaryKeys - primary keys
      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String column,
                                    String value,
                                    String constraint,
                                    DGIWGRequirement requirement,
                                    DGIWGValidationKey... primaryKeys)
        Constructor
        Parameters:
        table - table name
        column - column name
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
        primaryKeys - primary keys
      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String column,
                                    Number value,
                                    String constraint,
                                    DGIWGRequirement requirement,
                                    DGIWGValidationKey... primaryKeys)
        Constructor
        Parameters:
        table - table name
        column - column name
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
        primaryKeys - primary keys
      • DGIWGValidationError

        public DGIWGValidationError​(String table,
                                    String column,
                                    Number value,
                                    Number constraint,
                                    DGIWGRequirement requirement,
                                    DGIWGValidationKey... primaryKeys)
        Constructor
        Parameters:
        table - table name
        column - column name
        value - error causing value
        constraint - constraint or error description
        requirement - requirement
        primaryKeys - primary keys
    • Method Detail

      • getTable

        public String getTable()
        Get the table
        Returns:
        table
      • getColumn

        public String getColumn()
        Get the column
        Returns:
        column
      • getValue

        public String getValue()
        Get the error causing value
        Returns:
        value
      • getConstraint

        public String getConstraint()
        Get the constraint or error description
        Returns:
        constraint
      • getRequirement

        public DGIWGRequirement getRequirement()
        Get the requirement
        Returns:
        requirement
      • getPrimaryKeys

        public List<DGIWGValidationKey> getPrimaryKeys()
        Get row primary keys
        Returns:
        primary keys
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object