Class Input


  • public class Input
    extends java.lang.Object
    Characterises a coordinate value as specified by the user. There may be multiple Input values corresponding to a single coordinate (Coord as used by the plotting system.
    Since:
    12 Sep 2014
    Author:
    Mark Taylor
    • Constructor Summary

      Constructors 
      Constructor Description
      Input​(InputMeta meta, java.lang.Class<?> valueClazz, java.lang.Class<? extends uk.ac.starlink.table.DomainMapper> domain)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends uk.ac.starlink.table.DomainMapper> getDomain()
      Returns the common value domain in which this user coordinate will be used.
      InputMeta getMeta()
      Returns user-directed metadata describing this input.
      java.lang.Class<?> getValueClass()
      Returns the data (super-)type of values described by this input.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Input

        public Input​(InputMeta meta,
                     java.lang.Class<?> valueClazz,
                     java.lang.Class<? extends uk.ac.starlink.table.DomainMapper> domain)
        Constructor.
        Parameters:
        meta - user-directed metadata
        valueClazz - data value class
        domain - data value domain, may be null
    • Method Detail

      • getMeta

        public InputMeta getMeta()
        Returns user-directed metadata describing this input.
        Returns:
        metadata
      • getValueClass

        public java.lang.Class<?> getValueClass()
        Returns the data (super-)type of values described by this input.
        Returns:
        value data type
      • getDomain

        public java.lang.Class<? extends uk.ac.starlink.table.DomainMapper> getDomain()
        Returns the common value domain in which this user coordinate will be used. The return value is a DomainMapper abstract sub-type. This sub-type effectively defines a target value domain. Null entries for this list are the norm, indicating that the user values will just be interpreted as numeric values, but a non-null domain value can be used if a particular interpretation (for instance time) is going to be imposed.
        Returns:
        domain mapper subtype, or null