kaos.core.csi.extension.state
Class FlightConditionMonitor

java.lang.Object
  extended by kaos.core.csi.extension.KAoSExtensionComponentImpl
      extended by kaos.core.csi.extension.state.FlightConditionMonitor
All Implemented Interfaces:
KAoSExtensionComponent, StateInterestListener, StateSensor, StateUpdateListener

public class FlightConditionMonitor
extends kaos.core.csi.extension.KAoSExtensionComponentImpl
implements StateSensor, StateUpdateListener


Field Summary
 
Fields inherited from class kaos.core.csi.extension.KAoSExtensionComponentImpl
_associatedOntTypes, _componentName
 
Constructor Summary
FlightConditionMonitor()
           
 
Method Summary
 void addOntologicalAttribute(java.lang.String ontAttribute)
          Add an ontological attribute the component is associated with.
 void deregisterInterest(OntClassDescription state)
           
 boolean getEnabledStatus()
          Return 'true/false', indicating the 'enabled/disabled' status of the component.
 java.awt.Component getGui()
           
 java.lang.String getName()
          Return the (unique) name of this KAoSExtensionComponent object.
 void initialize(java.util.ArrayList<java.lang.String> parameters)
           
static void main(java.lang.String[] args)
           
 void registerInterest(OntClassDescription state)
           
 void setEnabledStatus(boolean status)
          Set 'true/false', indicating the 'enabled/disabled' status of the component.
 void setName(java.lang.String componentName)
          Set the name of this component.
 void setProperties(ServiceProperties props)
          Set the properties of this component, if there are any.
 void stateUpdate(java.lang.String stateID, java.lang.String stateClass, java.util.List<OntPropertyDescription> properties)
           
 
Methods inherited from class kaos.core.csi.extension.KAoSExtensionComponentImpl
getOntologicalAttributes, getSubclassesForAttribute, setSubclassesForAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kaos.core.csi.extension.KAoSExtensionComponent
getOntologicalAttributes, getSubclassesForAttribute, setSubclassesForAttribute
 

Constructor Detail

FlightConditionMonitor

public FlightConditionMonitor()
Method Detail

initialize

public void initialize(java.util.ArrayList<java.lang.String> parameters)
Specified by:
initialize in interface StateSensor

getGui

public java.awt.Component getGui()
Specified by:
getGui in interface StateSensor

main

public static void main(java.lang.String[] args)

stateUpdate

public void stateUpdate(java.lang.String stateID,
                        java.lang.String stateClass,
                        java.util.List<OntPropertyDescription> properties)
Specified by:
stateUpdate in interface StateUpdateListener

getName

public java.lang.String getName()
Description copied from class: kaos.core.csi.extension.KAoSExtensionComponentImpl
Return the (unique) name of this KAoSExtensionComponent object.

Specified by:
getName in interface KAoSExtensionComponent
Overrides:
getName in class kaos.core.csi.extension.KAoSExtensionComponentImpl
Returns:
name of this component.

setEnabledStatus

public void setEnabledStatus(boolean status)
Description copied from class: kaos.core.csi.extension.KAoSExtensionComponentImpl
Set 'true/false', indicating the 'enabled/disabled' status of the component.

Specified by:
setEnabledStatus in interface KAoSExtensionComponent
Overrides:
setEnabledStatus in class kaos.core.csi.extension.KAoSExtensionComponentImpl
Parameters:
status - boolean parameter to set the 'enabled/disabled' status to

getEnabledStatus

public boolean getEnabledStatus()
Description copied from class: kaos.core.csi.extension.KAoSExtensionComponentImpl
Return 'true/false', indicating the 'enabled/disabled' status of the component.

Specified by:
getEnabledStatus in interface KAoSExtensionComponent
Overrides:
getEnabledStatus in class kaos.core.csi.extension.KAoSExtensionComponentImpl
Returns:
a boolean parameter indicating the 'enabled/disabled' status of this component.

addOntologicalAttribute

public void addOntologicalAttribute(java.lang.String ontAttribute)
Description copied from class: kaos.core.csi.extension.KAoSExtensionComponentImpl
Add an ontological attribute the component is associated with.

Specified by:
addOntologicalAttribute in interface KAoSExtensionComponent
Overrides:
addOntologicalAttribute in class kaos.core.csi.extension.KAoSExtensionComponentImpl
Parameters:
ontAttribute - String containing the name of the ontological attribute.

setName

public void setName(java.lang.String componentName)
Description copied from class: kaos.core.csi.extension.KAoSExtensionComponentImpl
Set the name of this component.

Specified by:
setName in interface KAoSExtensionComponent
Overrides:
setName in class kaos.core.csi.extension.KAoSExtensionComponentImpl
Parameters:
componentName - String containing the name of this component.

setProperties

public void setProperties(ServiceProperties props)
Description copied from interface: KAoSExtensionComponent
Set the properties of this component, if there are any.

Specified by:
setProperties in interface KAoSExtensionComponent
Overrides:
setProperties in class kaos.core.csi.extension.KAoSExtensionComponentImpl
Parameters:
props - ServiceProperties (optionally) specifying additional ontological properties of the component.

registerInterest

public void registerInterest(OntClassDescription state)
Specified by:
registerInterest in interface StateInterestListener

deregisterInterest

public void deregisterInterest(OntClassDescription state)
Specified by:
deregisterInterest in interface StateInterestListener


Copyright © 2006 IHMC All Rights Reserved.