com.jwpepper.inv.pprprd
Class Style

java.lang.Object
  |
  +--com.imaginary.lwp.Type
        |
        +--com.jwpepper.inv.pprprd.Style

public class Style
extends Type

Represents the style of a particular piece of music. Styles can only be associated with specific classifications.
Last modified $Date: 1999/10/04 15:31:06 $

Version:
$Revision: 1.1 $
Author:
George Reese (george@ancept.com)
See Also:
Serialized Form

Constructor Summary
Style()
          Empty constructor required by serialization.
 
Method Summary
static Style getInstance(java.lang.String cde)
          Provides a specific style represented by the specified code.
static com.sun.java.util.collections.Iterator list()
          Provides all known styles.
static com.sun.java.util.collections.Iterator list(Classification clsf)
          Provides all of the styles associated with the specified classification.
 
Methods inherited from class com.imaginary.lwp.Type
getCode, getDescription, getName, getType, list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Style

public Style()
Empty constructor required by serialization.
Method Detail

getInstance

public static Style getInstance(java.lang.String cde)
Provides a specific style represented by the specified code.
Parameters:
cde - the code of the desired style
Returns:
the style associated with the named code.

list

public static com.sun.java.util.collections.Iterator list()
Provides all known styles.
Returns:
a list of styles

list

public static com.sun.java.util.collections.Iterator list(Classification clsf)
Provides all of the styles associated with the specified classification.
Parameters:
clsf - the classification who styles are sought
Returns:
a list of associated styles