kaos.autonomy.repository
Class ActionConsequenceImpl

java.lang.Object
  extended by kaos.core.csi.OntInstanceDescriptionImpl
      extended by kaos.autonomy.repository.ActionSituationCharacteristicImpl
          extended by kaos.autonomy.repository.ActionConsequenceImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ActionConsequence, ActionSituationCharacteristic, OntInstanceDescription

public class ActionConsequenceImpl
extends ActionSituationCharacteristicImpl
implements ActionConsequence

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

See Also:
Serialized Form

Constructor Summary
ActionConsequenceImpl(SerializableOntModelImpl instanceModel, OntologyService myOntologyService)
           
ActionConsequenceImpl(java.lang.String instanceName, java.lang.String className)
           
 
Method Summary
 void addMetricForConsequenceStatus(MetricForConsequenceStatus myMetric)
          Add the metrics for a specific consequence status
 OntInstanceDescription createValueDescription(java.lang.String propertyURI, SerializableOntModelImpl model, OntologyService ontService)
           
 java.util.Vector getMetricForConsequenceStatus()
          Get the list of metrics for different consequence statuses
 
Methods inherited from class kaos.autonomy.repository.ActionSituationCharacteristicImpl
getDescribedActionClassName, setDescribedActionClassName
 
Methods inherited from class kaos.core.csi.OntInstanceDescriptionImpl
addProperty, addProperty, addType, addValueForProperty, addValueForProperty, clone, createValueDescription, equals, getAllValueDescriptionsForProperty, getAllValuesForProperty, getDescriptionOfFirstValueForProperty, getFirstType, getFirstValueForProperty, getInstanceID, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, hashCode, removeProperty, removeType, setProperty, setValueForProperty, setValueForProperty, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

ActionConsequenceImpl

public ActionConsequenceImpl(java.lang.String instanceName,
                             java.lang.String className)
                      throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

ActionConsequenceImpl

public ActionConsequenceImpl(SerializableOntModelImpl instanceModel,
                             OntologyService myOntologyService)
                      throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException
Method Detail

createValueDescription

public OntInstanceDescription createValueDescription(java.lang.String propertyURI,
                                                     SerializableOntModelImpl model,
                                                     OntologyService ontService)
                                              throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

getMetricForConsequenceStatus

public java.util.Vector getMetricForConsequenceStatus()
Get the list of metrics for different consequence statuses

Specified by:
getMetricForConsequenceStatus in interface ActionConsequence

addMetricForConsequenceStatus

public void addMetricForConsequenceStatus(MetricForConsequenceStatus myMetric)
Add the metrics for a specific consequence status

Specified by:
addMetricForConsequenceStatus in interface ActionConsequence
Parameters:
myMetric - id of the added metric