Class ParameterRemote

    • Field Detail

      • value

        private Value value
      • index

        private final int index
      • nullable

        private int nullable
    • Constructor Detail

      • ParameterRemote

        public ParameterRemote​(int index)
    • Method Detail

      • setValue

        public void setValue​(Value newValue,
                             boolean closeOld)
        Description copied from interface: ParameterInterface
        Set the value of the parameter.
        Specified by:
        setValue in interface ParameterInterface
        Parameters:
        newValue - the new value
        closeOld - if the old value (if one is set) should be closed
      • getType

        public TypeInfo getType()
        Description copied from interface: ParameterInterface
        Returns the expected data type if no value is set, or the data type of the value if one is set.
        Specified by:
        getType in interface ParameterInterface
        Returns:
        the data type
      • readMetaData

        public void readMetaData​(Transfer transfer)
                          throws java.io.IOException
        Read the parameter meta data from the transfer object.
        Parameters:
        transfer - the transfer object
        Throws:
        java.io.IOException - on failure
      • writeMetaData

        public static void writeMetaData​(Transfer transfer,
                                         ParameterInterface p)
                                  throws java.io.IOException
        Write the parameter meta data to the transfer object.
        Parameters:
        transfer - the transfer object
        p - the parameter
        Throws:
        java.io.IOException - on failure