public class OAVCapabilityModel extends Object implements ICacheableModel
Constructor and Description |
---|
OAVCapabilityModel(jadex.rules.state.IOAVState state,
Object handle,
ModelInfo modelinfo,
Set types,
long lastmod,
MultiCollection entries)
Create a model.
|
Modifier and Type | Method and Description |
---|---|
void |
addDocument(String id,
String doc)
Add an external document.
|
void |
addEntry(Tuple stack,
String message)
Add an entry to the report.
|
void |
addSubcapabilityModel(OAVCapabilityModel cmodel)
Add a subcapability.
|
void |
createArgument(jadex.rules.state.IOAVState state,
Object capa,
Object handle,
boolean beliefset,
boolean isarg)
Create an argument.
|
Map |
getDocuments()
Get the external documents.
|
String |
getFilename()
Get the filename.
|
Object |
getHandle()
Get the agent state handle.
|
long |
getLastChecked()
Get the last check date.
|
long |
getLastModified()
Get the last modified date.
|
IModelInfo |
getModelInfo()
Get the modelinfo.
|
jadex.rules.rulesystem.Rulebase |
getRulebase()
Get the rulebase.
|
jadex.rules.state.IOAVState |
getState()
Get the state.
|
OAVCapabilityModel |
getSubcapabilityModel(Object mcapa)
Get the model for a subcapability.
|
Set |
getTypes()
Get the object types contained in the state.
|
void |
initModelInfo()
Init the model info.
|
void |
setLastChecked(long lastcheck)
Set the last modified date.
|
String |
toString()
Get the string representation.
|
public OAVCapabilityModel(jadex.rules.state.IOAVState state, Object handle, ModelInfo modelinfo, Set types, long lastmod, MultiCollection entries)
public void initModelInfo()
public long getLastModified()
getLastModified
in interface ICacheableModel
public long getLastChecked()
getLastChecked
in interface ICacheableModel
public void setLastChecked(long lastcheck)
setLastChecked
in interface ICacheableModel
lastcheck
- The last check time of the model.public jadex.rules.state.IOAVState getState()
public Object getHandle()
public Set getTypes()
public jadex.rules.rulesystem.Rulebase getRulebase()
public String toString()
public void addSubcapabilityModel(OAVCapabilityModel cmodel)
public OAVCapabilityModel getSubcapabilityModel(Object mcapa)
mcapa
- public IModelInfo getModelInfo()
public void addEntry(Tuple stack, String message)
stack
- The path to the element to which the entry applies.message
- The problem description.public void addDocument(String id, String doc)
id
- The document id as used in anchor tags.doc
- The html text.public Map getDocuments()
public void createArgument(jadex.rules.state.IOAVState state, Object capa, Object handle, boolean beliefset, boolean isarg)
public String getFilename()
getFilename
in interface ICacheableModel
Copyright © 2012. All Rights Reserved.