Interface WrappedOption

All Known Implementing Classes:
WrappedActionTrigger, WrappedCustomOption, WrappedDate, WrappedFile

public interface WrappedOption
Wrapper class for an object that represents a property value and is saved as a set of primitives.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the object that is the property value.
     
    void
    readState(SaveState saveState)
    Concrete subclass of WrappedOption should read all of its state from the given saveState object.
    void
    writeState(SaveState saveState)
    Concrete subclass of WrappedOption should write all of its state to the given saveState object.
  • Method Details

    • getObject

      Object getObject()
      Get the object that is the property value.
    • readState

      void readState(SaveState saveState)
      Concrete subclass of WrappedOption should read all of its state from the given saveState object.
      Parameters:
      saveState - container of state information
    • writeState

      void writeState(SaveState saveState)
      Concrete subclass of WrappedOption should write all of its state to the given saveState object.
      Parameters:
      saveState - container of state information
    • getOptionType

      OptionType getOptionType()