edu.washington.cs.sounddetector.server.api.object
Class SoundClass

java.lang.Object
  extended by edu.washington.cs.sounddetector.server.api.object.SoundClass

public class SoundClass
extends Object


Constructor Summary
SoundClass()
           
SoundClass(String soundClass, int rgbColor)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getRgbColor()
           
 String getSoundClass()
           
 int hashCode()
           
 void setRgbColor(int rgbColor)
           
 void setSoundClass(String soundClass)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoundClass

public SoundClass()

SoundClass

public SoundClass(String soundClass,
                  int rgbColor)
Parameters:
soundClass - the class of the sound
rgbColor - the color for the class
Method Detail

getSoundClass

public String getSoundClass()
Returns:
the soundClass

setSoundClass

public void setSoundClass(String soundClass)
Parameters:
soundClass - the soundClass to set

getRgbColor

public int getRgbColor()
Returns:
the rgbColor, or -1 if no color has been set.

setRgbColor

public void setRgbColor(int rgbColor)
Parameters:
rgbColor - the rgbColor to set

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.