org.encog.persist
Class BasicPersistedObject

java.lang.Object
  extended by org.encog.persist.BasicPersistedObject
All Implemented Interfaces:
Serializable, EncogPersistedObject
Direct Known Subclasses:
BasicNetwork, BufferedNeuralDataSet, DataNormalization, EncogScript, PropertyData, TextData, TrainingContinuation

public class BasicPersistedObject
extends Object
implements EncogPersistedObject

A basic Encog persisted object. Provides the name, description and collection attributes. Also provides a generic persistor.

See Also:
Serialized Form

Constructor Summary
BasicPersistedObject()
           
 
Method Summary
 Persistor createPersistor()
          Create a persistor for this object.
 EncogCollection getCollection()
          
 String getDescription()
          
 String getName()
          
 void setCollection(EncogCollection collection)
          
 void setDescription(String theDescription)
          Set the description of this object.
 void setName(String theName)
          Set the name of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPersistedObject

public BasicPersistedObject()
Method Detail

createPersistor

public Persistor createPersistor()
Create a persistor for this object.

Specified by:
createPersistor in interface EncogPersistedObject
Returns:
A persistor for this object.

getCollection

public EncogCollection getCollection()

Specified by:
getCollection in interface EncogPersistedObject

getDescription

public String getDescription()

Specified by:
getDescription in interface EncogPersistedObject
Returns:
The description of this object.

getName

public String getName()

Specified by:
getName in interface EncogPersistedObject
Returns:
The name of this object.

setCollection

public void setCollection(EncogCollection collection)

Specified by:
setCollection in interface EncogPersistedObject

setDescription

public void setDescription(String theDescription)
Set the description of this object.

Specified by:
setDescription in interface EncogPersistedObject
Parameters:
theDescription - The description.

setName

public void setName(String theName)
Set the name of this object.

Specified by:
setName in interface EncogPersistedObject
Parameters:
theName - The name of this object.


Copyright © 2011. All Rights Reserved.