StateableInterface
Kind of class: | interface |
---|---|
Inherits from: | CoreInterface |
Implemented by: | |
Version: | 12/14/06 |
Author: | Toby Boudreaux, Aaron Clinger |
Classpath: | org.casalib.state.StateableInterface |
File last modified: | Monday, 01 December 2008, 13:34:40 |
Summary
Instance methods
- setValueForKey (key:String, value:Object) : Void
- Stores a key value pair.
- getValueForKey (key:String) : Object
- Gets the value of specified key.
- removeValueForKey (key:String) : Boolean
- Removes a key value pair from being stored.
- getValueKeys : Array
Instance methods inherited from CoreInterface
Instance methods
getValueForKey
function getValueForKey (
key:String) : Object
Gets the value of specified key.
Parameters:
key:
Name of key.
Returns:
- Value of key.
getValueKeys
function getValueKeys (
) : Array
Returns:
- Returns an Array composed of all stored key names as strings.
removeValueForKey
function removeValueForKey (
key:String) : Boolean
Removes a key value pair from being stored.
Parameters:
key:
Name of key.
Returns:
- Returns
true
if key value pair was found and removed; otherwisefalse
.
setValueForKey
function setValueForKey (
key:String,
value:Object) : Void
Stores a key value pair.
Parameters:
key :
Name of key.
value:
Value of key.