Package jadex.kernelbase
Class DefaultPersistInfo
- java.lang.Object
- 
- jadex.kernelbase.DefaultPersistInfo
 
- 
- All Implemented Interfaces:
- IPersistInfo
 - Direct Known Subclasses:
- BpmnPersistInfo
 
 public class DefaultPersistInfo extends java.lang.Object implements IPersistInfo Interpreter state information used to persist components. Kernels must subclass this state to include kernel-specific state information.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.Object>argumentsThe arguments.protected java.lang.StringconfigThe application configuration.protected IComponentDescriptiondescThe component description.protected java.lang.StringmodelfilenameFile name of the model.protected java.util.Map<java.lang.String,java.lang.Object>propertiesThe properties.protected java.util.Map<java.lang.String,java.lang.Object>resultsThe results.
 - 
Constructor SummaryConstructors Constructor Description DefaultPersistInfo()Empty constructor for bean compatibility.DefaultPersistInfo(IInternalAccess interpreter)Creates the state info object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getArguments()Gets the arguments.IComponentDescriptiongetComponentDescription()Get the component description.java.lang.StringgetConfig()Gets the config.java.lang.StringgetModelFileName()Gets the model file name.java.util.Map<java.lang.String,java.lang.Object>getProperties()Gets the properties.java.util.Map<java.lang.String,java.lang.Object>getResults()Gets the results.voidsetArguments(java.util.Map<java.lang.String,java.lang.Object> arguments)Sets the arguments.voidsetComponentDescription(IComponentDescription desc)Set the component description.voidsetConfig(java.lang.String config)Sets the config.voidsetModelFileName(java.lang.String modelfilename)Sets the model file name.voidsetProperties(java.util.Map<java.lang.String,java.lang.Object> properties)Sets the properties.voidsetResults(java.util.Map<java.lang.String,java.lang.Object> results)Sets the results.
 
- 
- 
- 
Field Detail- 
modelfilenameprotected java.lang.String modelfilename File name of the model.
 - 
descprotected IComponentDescription desc The component description.
 - 
configprotected java.lang.String config The application configuration.
 - 
argumentsprotected java.util.Map<java.lang.String,java.lang.Object> arguments The arguments.
 - 
resultsprotected java.util.Map<java.lang.String,java.lang.Object> results The results.
 - 
propertiesprotected java.util.Map<java.lang.String,java.lang.Object> properties The properties.
 
- 
 - 
Constructor Detail- 
DefaultPersistInfopublic DefaultPersistInfo() Empty constructor for bean compatibility.
 - 
DefaultPersistInfopublic DefaultPersistInfo(IInternalAccess interpreter) Creates the state info object.
 
- 
 - 
Method Detail- 
getModelFileNamepublic java.lang.String getModelFileName() Gets the model file name.- Specified by:
- getModelFileNamein interface- IPersistInfo
- Returns:
- The model file name.
 
 - 
setModelFileNamepublic void setModelFileName(java.lang.String modelfilename) Sets the model file name.- Parameters:
- modelfilename- The model file name to set.
 
 - 
getComponentDescriptionpublic IComponentDescription getComponentDescription() Get the component description.- Specified by:
- getComponentDescriptionin interface- IPersistInfo
- Returns:
- The component description
 
 - 
setComponentDescriptionpublic void setComponentDescription(IComponentDescription desc) Set the component description.- Parameters:
- desc- The component description
 
 - 
getConfigpublic java.lang.String getConfig() Gets the config.- Returns:
- The config.
 
 - 
setConfigpublic void setConfig(java.lang.String config) Sets the config.- Parameters:
- config- The config to set.
 
 - 
getArgumentspublic java.util.Map<java.lang.String,java.lang.Object> getArguments() Gets the arguments.- Returns:
- The arguments.
 
 - 
setArgumentspublic void setArguments(java.util.Map<java.lang.String,java.lang.Object> arguments) Sets the arguments.- Parameters:
- arguments- The arguments to set.
 
 - 
getResultspublic java.util.Map<java.lang.String,java.lang.Object> getResults() Gets the results.- Returns:
- The results.
 
 - 
setResultspublic void setResults(java.util.Map<java.lang.String,java.lang.Object> results) Sets the results.- Parameters:
- results- The results to set.
 
 - 
getPropertiespublic java.util.Map<java.lang.String,java.lang.Object> getProperties() Gets the properties.- Returns:
- The properties.
 
 - 
setPropertiespublic void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties) Sets the properties.- Parameters:
- properties- The properties to set.
 
 
- 
 
-