kaos.autonomy.repository
Class MetricForConsequenceStatusImpl

java.lang.Object
  extended by kaos.core.csi.OntInstanceDescriptionImpl
      extended by kaos.autonomy.repository.MetricForConsequenceStatusImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, MetricForConsequenceStatus, OntInstanceDescription

public class MetricForConsequenceStatusImpl
extends OntInstanceDescriptionImpl
implements MetricForConsequenceStatus

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

See Also:
Serialized Form

Constructor Summary
MetricForConsequenceStatusImpl(SerializableOntModelImpl instanceModel, OntologyService myOntologyService)
           
MetricForConsequenceStatusImpl(java.lang.String instanceName, java.lang.String className)
           
 
Method Summary
 java.lang.String getActionStatus()
          Get action status
 float getConsequenceValue()
          Get the value of this consequence
 void setActionStatus(java.lang.String myActionStatus)
          Set action status
 void setConsequenceValue(float myValue)
          Set the value of this consequence
 
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.core.csi.OntInstanceDescription
addProperty, addProperty, addType, clone, getFirstType, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType
 

Constructor Detail

MetricForConsequenceStatusImpl

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

MetricForConsequenceStatusImpl

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

getActionStatus

public java.lang.String getActionStatus()
Get action status

Specified by:
getActionStatus in interface MetricForConsequenceStatus

getConsequenceValue

public float getConsequenceValue()
Get the value of this consequence

Specified by:
getConsequenceValue in interface MetricForConsequenceStatus

setActionStatus

public void setActionStatus(java.lang.String myActionStatus)
Set action status

Specified by:
setActionStatus in interface MetricForConsequenceStatus
Parameters:
myActionStatus - string representing the action status url

setConsequenceValue

public void setConsequenceValue(float myValue)
Set the value of this consequence

Specified by:
setConsequenceValue in interface MetricForConsequenceStatus
Parameters:
myValue - value of this consequence