public abstract class

Model

extends Observable
java.lang.Object
   ↳ java.util.Observable
     ↳ fm.audiobox.core.models.Model
Known Direct Subclasses

Class Overview

This class is the prototype of each model and defines model's common behaviors.

Summary

Public Constructors
Model()
Public Methods
final Object getProp(String key)
Gets the requested property or null.
void notifyObservers(Object arg)
final void setProp(String key, Object value)
Sets a property to the model
[Expand]
Inherited Methods
From class java.util.Observable
From class java.lang.Object

Public Constructors

public Model ()

Public Methods

public final Object getProp (String key)

Gets the requested property or null.

Parameters
key the key where the value was previously stored.
Returns
  • the requested object.

public void notifyObservers (Object arg)

public final void setProp (String key, Object value)

Sets a property to the model

Parameters
key the key to store the value to.
value the value to set.