Interface OptionModelInterface

All Superinterfaces:
Remote, Serializable
All Known Implementing Classes:
OptionModel, OptionModelSkeleton, OptionModelStub

public interface OptionModelInterface extends Serializable, Remote
Interface for option model.
Version:
10.1.1
Author:
jmback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addValues(String iKey, List<String> listValue)
    Add valid values for an existing option.
    boolean
    Checks if option with key exists in this option model or in any imported option model.
    boolean
    Get the value of a boolean option.
    org.jdom2.Document
    Get content of option model as a document.
    getKey(String iKey)
    Get key for existing option from this option model or top option model.
    Get name for existing option in this option model or in any imported option model.
    Get names for all existing (non-internal) options of this model and imported models.
    Get the value of an option from this option model or from any imported option model.
    Get the value of a string option from this option model or from any imported option model.
    boolean
    Has option model content changed since last save or load?
    importOption(org.jdom2.Document doc)
    Import the option model given as document into this option model and return the imported option model.
    void
    initialize(org.jdom2.Document iXMLText)
    Initialize option model from the XML text.
    void
    Remove the option with this key from the option model.
    void
    setDescription(String iKey, String sDescription)
    Set the description of the option with the given key.
    void
    setInternal(String iKey, boolean bInternal)
    Set the option with the given key to be internal
    void
    setOption(String iKey, String sValue)
    Create a new option or modify the properties of an option.