Class DomainColumnResolver

  • All Implemented Interfaces:
    ColumnResolver

    public class DomainColumnResolver
    extends java.lang.Object
    implements ColumnResolver
    The single column resolver resolves the VALUE column. It is used to parse a domain constraint.
    • Field Detail

      • column

        private final Column column
      • value

        private Value value
      • name

        private java.lang.String name
    • Constructor Detail

      • DomainColumnResolver

        public DomainColumnResolver​(TypeInfo typeInfo)
    • Method Detail

      • setValue

        public void setValue​(Value value)
      • getValue

        public Value getValue​(Column col)
        Description copied from interface: ColumnResolver
        Get the value for the given column.
        Specified by:
        getValue in interface ColumnResolver
        Parameters:
        col - the column
        Returns:
        the value
      • findColumn

        public Column findColumn​(java.lang.String name)
        Description copied from interface: ColumnResolver
        Get the column with the specified name.
        Specified by:
        findColumn in interface ColumnResolver
        Parameters:
        name - the column name, must be a derived name if this column resolver has a derived column list
        Returns:
        the column with the specified name, or null
      • setColumnName

        void setColumnName​(java.lang.String newName)
      • resetColumnName

        void resetColumnName()
      • getColumnName

        public java.lang.String getColumnName()
        Return column name to use or null.
        Returns:
        column name to use or null
      • getValueType

        public TypeInfo getValueType()
        Return the type of the column.
        Returns:
        the type of the column