Package org.apache.torque.map
Class OptionSupport
java.lang.Object
org.apache.torque.map.OptionSupport
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ColumnMap,DatabaseMap,TableMap
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
OptionSupport
public OptionSupport()
-
-
Method Details
-
getOptions
Returns an unmodifiable map of all options.- Returns:
- A map containing all options, not null.
-
setOption
Sets an option.- Parameters:
key- the key of the optionvalue- the value of the option.
-
getOption
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.
-