edu.washington.cs.sounddetector.server.api.method
Class Train

java.lang.Object
  extended by edu.washington.cs.sounddetector.server.api.method.Train
All Implemented Interfaces:
Method

public class Train
extends Object
implements Method


Constructor Summary
Train()
           
Train(String detectorId, List<LabeledSound> data, SoundFormat soundFormat)
           
 
Method Summary
 List<LabeledSound> getData()
           
 String getDetectorId()
           
 SoundFormat getSoundFormat()
           
 void setData(List<LabeledSound> data)
           
 void setDetectorId(String detectorId)
           
 void setSoundFormat(SoundFormat soundFormat)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Train

public Train()

Train

public Train(String detectorId,
             List<LabeledSound> data,
             SoundFormat soundFormat)
Method Detail

setDetectorId

public void setDetectorId(String detectorId)
Parameters:
detectorId - the detectorId to set

setData

public void setData(List<LabeledSound> data)
Parameters:
data - the data to set

setSoundFormat

public void setSoundFormat(SoundFormat soundFormat)
Parameters:
soundFormat - the soundFormat to set

getDetectorId

public String getDetectorId()
Returns:
the detectorId

getData

public List<LabeledSound> getData()
Returns:
the data as an unmodifiable list

getSoundFormat

public SoundFormat getSoundFormat()
Returns:
the soundFormat

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.