Class SelectedCar

  • All Implemented Interfaces:
    com.jgoodies.common.bean.ObservableBean, com.jgoodies.common.bean.ObservableBean2, Serializable

    public class SelectedCar
    extends com.jgoodies.binding.beans.Model
    See Also:
    Serialized Form
    • Constructor Detail

      • SelectedCar

        public SelectedCar()
    • Method Detail

      • getDecoderAddress

        public Integer getDecoderAddress()
        Returns:
        the decoderAddress
      • setDecoderAddress

        public void setDecoderAddress​(Integer decoderAddress)
        Parameters:
        decoderAddress - the decoderAddress to set
      • getScale

        public Integer getScale()
        Returns:
        the scale
      • setScale

        public void setScale​(Integer scale)
        Parameters:
        scale - the scale to set
      • getFunctionMap

        public Map<Integer,​Integer> getFunctionMap()
        Returns:
        the functionMap
      • setFunctionMap

        public void setFunctionMap​(Map<Integer,​Integer> functionMap)
        Parameters:
        functionMap - the functionMap to set
      • getFunctionValue

        public Integer getFunctionValue​(Integer functionAddress)
        Get the value of the function from the cache.
        Parameters:
        functionAddress - the function address
        Returns:
        the value, or null if not available
      • setFunctionValue

        public void setFunctionValue​(Integer functionAddress,
                                     Integer functionValue)
        Set the function value in the cache.
        Parameters:
        functionAddress - the function address
        functionValue - the new value