Class MappedDataEntry


public class MappedDataEntry extends MappedEntry
A normal address based HighSymbol mapping with an associated Data object
  • Constructor Details

    • MappedDataEntry

      public MappedDataEntry(HighSymbol sym)
      Constructor for use with restoreXML
      Parameters:
      sym - is the owning HighSymbol
    • MappedDataEntry

      public MappedDataEntry(HighSymbol sym, VariableStorage store, Data d)
      Construct given a symbol, storage, and a backing Data object
      Parameters:
      sym - the given symbol
      store - the given storage
      d - the backing Data object
  • Method Details

    • getData

      public Data getData()
      Returns:
      the backing Data object
    • decode

      public void decode(Decoder decoder) throws DecoderException
      Description copied from class: SymbolEntry
      Decode this entry from the stream. Typically more than one element is consumed.
      Overrides:
      decode in class MappedEntry
      Parameters:
      decoder - is the stream decoder
      Throws:
      DecoderException - for invalid encodings
    • getMutability

      public int getMutability()
      Description copied from class: SymbolEntry
      Return one of - MutabilitySettingsDefinition.NORMAL - MutabilitySettingsDefinition.VOLATILE - MutabilitySettingsDefinition.CONSTANT
      Overrides:
      getMutability in class MappedEntry
      Returns:
      the mutability setting