Class Translet.Store_1<S>

Enclosing class:
Translet

public static class Translet.Store_1<S> extends Translet.StorageWrapper<S>
Storing operator which only one(1) value per key. The storing object must thus be a map.
  • Field Details

    • store

      protected Map<Event,? super S> store
      The target of all storing operations.
  • Constructor Details

  • Method Details

    • unparse

      public String unparse(Object key)
      Description copied from class: Translet.Parser
      Reverse the parsing process (as far as possible) and deliver a string representation which when parsed delivered the parse result.
      Specified by:
      unparse in class Translet.Parser<S>
    • executeStoring

      public void executeStoring(Translet.State<S> s, Event e, eu.bandm.tools.location.Location<eu.bandm.tools.util.xml.XMLDocumentIdentifier> loc, MessageReceiver<SimpleMessage<eu.bandm.tools.util.xml.XMLDocumentIdentifier>> msg)
      Execute the storing operation. Called exparte-post after one of the resulting parse trees has been selected. Every key may occur only once, multiple occurance raises an error.
      Overrides:
      executeStoring in class Translet.Parser<S>
    • storageName

      protected Format storageName()
      Description copied from class: Translet.StorageWrapper
      Return an identity indication for the storage container object.
      Specified by:
      storageName in class Translet.StorageWrapper<S>