Neuroph

org.neuroph.util.plugins
Class LabelsPlugin

java.lang.Object
  extended by org.neuroph.util.plugins.PluginBase
      extended by org.neuroph.util.plugins.LabelsPlugin
All Implemented Interfaces:
java.io.Serializable

public class LabelsPlugin
extends PluginBase

See Also:
Serialized Form

Field Summary
private  java.util.Map<java.lang.Object,java.lang.String> labels
          Collection of labels for the neural network components
private static long serialVersionUID
          The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
 
Constructor Summary
LabelsPlugin()
           
 
Method Summary
 java.lang.String getLabel(java.lang.Object object)
          Returns label for the specified object
 void setLabel(java.lang.Object object, java.lang.String label)
          Sets label for the specified object
 
Methods inherited from class org.neuroph.util.plugins.PluginBase
getName, getParentNetwork, setParentNetwork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

See Also:
Constant Field Values

labels

private java.util.Map<java.lang.Object,java.lang.String> labels
Collection of labels for the neural network components

Constructor Detail

LabelsPlugin

public LabelsPlugin()
Method Detail

getLabel

public java.lang.String getLabel(java.lang.Object object)
Returns label for the specified object

Parameters:
object - object for which label should be returned
Returns:
label for the specified object

setLabel

public void setLabel(java.lang.Object object,
                     java.lang.String label)
Sets label for the specified object

Parameters:
object - object to set label
label - label to set

Neuroph