Class OptionSupport

java.lang.Object
org.apache.torque.map.OptionSupport
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ColumnMap, DatabaseMap, TableMap

public abstract class OptionSupport extends Object implements Serializable
OptionSupport provides the basic methods for the management of options within the database schema model.
Version:
$Id: ColumnMap.java 1484252 2013-05-19 09:58:00Z tfischer $
Author:
Thomas Vandahl
See Also:
  • Constructor Details

    • OptionSupport

      public OptionSupport()
  • Method Details

    • getOptions

      public Map<String,String> getOptions()
      Returns an unmodifiable map of all options.
      Returns:
      A map containing all options, not null.
    • setOption

      public void setOption(String key, String value)
      Sets an option.
      Parameters:
      key - the key of the option
      value - the value of the option.
    • getOption

      public String getOption(String key)
      Returns the value of an option.
      Parameters:
      key - the key of the option.
      Returns:
      the value of the option, or null if not set.
    • clearOptions

      public void clearOptions()
      Clears all options.