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
    • isReadOnly

      public boolean isReadOnly()
      Overrides:
      isReadOnly in class MappedEntry
      Returns:
      true if the mapped storage is read-only
    • isVolatile

      public boolean isVolatile()
      Overrides:
      isVolatile in class MappedEntry
      Returns:
      true if the mapped storage is volatile