org.jdmp.core.sample
Class AbstractSample

java.lang.Object
  extended by org.jdmp.core.AbstractCoreObject
      extended by org.jdmp.core.sample.AbstractSample
All Implemented Interfaces:
Serializable, Cloneable, CoreObject, Sample, HasVariableMap, HasVariables, Clearable, HasDescription, HasGUIObject, HasId, HasLabel
Direct Known Subclasses:
DefaultSample, MapSample

public abstract class AbstractSample
extends AbstractCoreObject
implements Sample

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdmp.core.AbstractCoreObject
ALL, COLUMN, logger, ROW, X, Y, Z
 
Fields inherited from interface org.jdmp.core.sample.Sample
COUNT, DESCRIPTION, DIFFERENCE, ID, INPUT, LABEL, PREDICTED, PROBABILITY, RMSE, SCORE, TARGET, WEIGHT
 
Constructor Summary
AbstractSample()
           
 
Method Summary
 void clear()
           
abstract  Sample clone()
           
 String getAsString(Object variableKey)
           
 String getDescription()
           
 GUIObject getGUIObject()
           
 String getId()
           
 String getLabel()
           
 Matrix getMatrix(Object variableKey)
           
 void notifyGUIObject()
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setLabel(String label)
           
 void setObject(Object variableKey, Object value)
           
 String toString()
           
 
Methods inherited from class org.jdmp.core.AbstractCoreObject
showGUI
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
showGUI
 
Methods inherited from interface org.jdmp.core.variable.HasVariableMap
getVariables, setMatrix, setVariables
 

Constructor Detail

AbstractSample

public AbstractSample()
Method Detail

clone

public abstract Sample clone()
Specified by:
clone in interface Sample
Overrides:
clone in class Object

getId

public final String getId()
Specified by:
getId in interface HasId

toString

public String toString()
Specified by:
toString in class AbstractCoreObject

getGUIObject

public final GUIObject getGUIObject()
Specified by:
getGUIObject in interface HasGUIObject

getMatrix

public final Matrix getMatrix(Object variableKey)
Specified by:
getMatrix in interface HasVariableMap

getAsString

public final String getAsString(Object variableKey)
Specified by:
getAsString in interface HasVariableMap

notifyGUIObject

public final void notifyGUIObject()
Specified by:
notifyGUIObject in interface HasGUIObject

setId

public void setId(String id)
Specified by:
setId in interface HasId

getDescription

public String getDescription()
Specified by:
getDescription in interface HasDescription

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface HasDescription

getLabel

public String getLabel()
Specified by:
getLabel in interface HasLabel

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface HasLabel

setObject

public final void setObject(Object variableKey,
                            Object value)
Specified by:
setObject in interface HasVariableMap

clear

public final void clear()
Specified by:
clear in interface Clearable


Copyright © 2009. All Rights Reserved.