org.encog.script
Class EncogScript

java.lang.Object
  extended by org.encog.persist.BasicPersistedObject
      extended by org.encog.script.EncogScript
All Implemented Interfaces:
Serializable, EncogPersistedObject

public class EncogScript
extends BasicPersistedObject

Hold one Encog script program. Can be saved to an Encog collection.

See Also:
Serialized Form

Field Summary
static String TYPE_JAVASCRIPT
           
 
Constructor Summary
EncogScript()
           
 
Method Summary
 Persistor createPersistor()
          Create a persistor for this object.
 String getLanguage()
           
 String getSource()
           
 void run(ConsoleInputOutput console)
           
 void setLanguage(String language)
           
 void setSource(String source)
           
 
Methods inherited from class org.encog.persist.BasicPersistedObject
getCollection, getDescription, getName, setCollection, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_JAVASCRIPT

public static final String TYPE_JAVASCRIPT
See Also:
Constant Field Values
Constructor Detail

EncogScript

public EncogScript()
Method Detail

createPersistor

public Persistor createPersistor()
Description copied from class: BasicPersistedObject
Create a persistor for this object.

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

getSource

public String getSource()
Returns:
the source

setSource

public void setSource(String source)
Parameters:
source - the source to set

getLanguage

public String getLanguage()
Returns:
the language

setLanguage

public void setLanguage(String language)
Parameters:
language - the language to set

run

public void run(ConsoleInputOutput console)


Copyright © 2011. All Rights Reserved.