|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.core.csi.extension.KAoSExtensionComponentImpl
kaos.core.csi.extension.state.WeatherMonitor
public class WeatherMonitor
Field Summary |
---|
Fields inherited from class kaos.core.csi.extension.KAoSExtensionComponentImpl |
---|
_associatedOntTypes, _componentName |
Constructor Summary | |
---|---|
WeatherMonitor()
|
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. |
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 |
---|
public WeatherMonitor()
Method Detail |
---|
public void initialize(java.util.ArrayList<java.lang.String> parameters)
initialize
in interface StateSensor
public java.awt.Component getGui()
getGui
in interface StateSensor
public static void main(java.lang.String[] args)
public java.lang.String getName()
kaos.core.csi.extension.KAoSExtensionComponentImpl
getName
in interface KAoSExtensionComponent
getName
in class kaos.core.csi.extension.KAoSExtensionComponentImpl
public void setEnabledStatus(boolean status)
kaos.core.csi.extension.KAoSExtensionComponentImpl
setEnabledStatus
in interface KAoSExtensionComponent
setEnabledStatus
in class kaos.core.csi.extension.KAoSExtensionComponentImpl
status
- boolean parameter to set the 'enabled/disabled' status topublic boolean getEnabledStatus()
kaos.core.csi.extension.KAoSExtensionComponentImpl
getEnabledStatus
in interface KAoSExtensionComponent
getEnabledStatus
in class kaos.core.csi.extension.KAoSExtensionComponentImpl
public void addOntologicalAttribute(java.lang.String ontAttribute)
kaos.core.csi.extension.KAoSExtensionComponentImpl
addOntologicalAttribute
in interface KAoSExtensionComponent
addOntologicalAttribute
in class kaos.core.csi.extension.KAoSExtensionComponentImpl
ontAttribute
- String containing the name of the ontological attribute.public void setName(java.lang.String componentName)
kaos.core.csi.extension.KAoSExtensionComponentImpl
setName
in interface KAoSExtensionComponent
setName
in class kaos.core.csi.extension.KAoSExtensionComponentImpl
componentName
- String containing the name of this component.public void setProperties(ServiceProperties props)
KAoSExtensionComponent
setProperties
in interface KAoSExtensionComponent
setProperties
in class kaos.core.csi.extension.KAoSExtensionComponentImpl
props
- ServiceProperties (optionally) specifying additional ontological properties of the component.public void registerInterest(OntClassDescription state)
registerInterest
in interface StateInterestListener
public void deregisterInterest(OntClassDescription state)
deregisterInterest
in interface StateInterestListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |