kaos.autonomy.repository
Interface ActionPrerequisite

All Superinterfaces:
ActionSituationCharacteristic, java.lang.Cloneable, OntInstanceDescription
All Known Implementing Classes:
ActionPrerequisiteImpl

public interface ActionPrerequisite
extends ActionSituationCharacteristic

This interface containes methods allowing to create and investigate a description of an ActionPrerequisite instance. $Revision: 1.3 $


Method Summary
 void addMetricForResourceStatus(MetricForResourceStatus myMetric)
          Add the metrics for a specific resource status
 java.util.Vector getMetricForResourceStatuses()
          Get the list of metrics for different resource statuses
 java.lang.String getResourceName()
          Get the name of the related resource
 void setResourceName(java.lang.String myResourceName)
          Set the name of related resource
 
Methods inherited from interface kaos.autonomy.repository.ActionSituationCharacteristic
getDescribedActionClassName, setDescribedActionClassName
 
Methods inherited from interface kaos.core.csi.OntInstanceDescription
addProperty, addProperty, addType, clone, getFirstType, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType
 

Method Detail

getResourceName

java.lang.String getResourceName()
Get the name of the related resource


setResourceName

void setResourceName(java.lang.String myResourceName)
Set the name of related resource

Parameters:
myResourceName - the name of the related resource

getMetricForResourceStatuses

java.util.Vector getMetricForResourceStatuses()
Get the list of metrics for different resource statuses


addMetricForResourceStatus

void addMetricForResourceStatus(MetricForResourceStatus myMetric)
Add the metrics for a specific resource status

Parameters:
myMetric - id of the added metric