kaos.autonomy.repository
Class ActionPrerequisiteImpl
java.lang.Object
kaos.core.csi.OntInstanceDescriptionImpl
kaos.autonomy.repository.ActionSituationCharacteristicImpl
kaos.autonomy.repository.ActionPrerequisiteImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, ActionPrerequisite, ActionSituationCharacteristic, OntInstanceDescription
public class ActionPrerequisiteImpl
- extends ActionSituationCharacteristicImpl
- implements ActionPrerequisite
This interface contains methods allowing to create and investigate a description of an ActionPrerequisite instance.
$Revision$
- See Also:
- Serialized Form
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 |
ActionPrerequisiteImpl
public ActionPrerequisiteImpl(java.lang.String instanceName,
java.lang.String className)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
ActionPrerequisiteImpl
public ActionPrerequisiteImpl(SerializableOntModelImpl instanceModel,
OntologyService myOntologyService)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
createValueDescription
public OntInstanceDescription createValueDescription(java.lang.String propertyURI,
SerializableOntModelImpl model,
OntologyService ontService)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
getResourceName
public java.lang.String getResourceName()
- Get the name of the related resource
- Specified by:
getResourceName
in interface ActionPrerequisite
setResourceName
public void setResourceName(java.lang.String myResourceName)
- Set the name of related resource
- Specified by:
setResourceName
in interface ActionPrerequisite
- Parameters:
myResourceName
- the name of the related resource
getMetricForResourceStatuses
public java.util.Vector getMetricForResourceStatuses()
- Get the list of metrics for different resource statuses
- Specified by:
getMetricForResourceStatuses
in interface ActionPrerequisite
addMetricForResourceStatus
public void addMetricForResourceStatus(MetricForResourceStatus myMetric)
- Add the metrics for a specific resource status
- Specified by:
addMetricForResourceStatus
in interface ActionPrerequisite
- Parameters:
myMetric
- id of the added metric