kaos.policy.guard
Class KAoSExtensionComponentImpl

java.lang.Object
  extended by kaos.policy.guard.KAoSExtensionComponentImpl
All Implemented Interfaces:
KAoSExtensionComponent
Direct Known Subclasses:
KAoSEventHistoryComponentImpl

public class KAoSExtensionComponentImpl
extends java.lang.Object
implements KAoSExtensionComponent


Field Summary
protected  java.lang.String _associatedOntType
           
protected  java.lang.String _componentName
           
protected  boolean _enabledStatus
           
 
Constructor Summary
KAoSExtensionComponentImpl(java.lang.String ontType, java.lang.String name)
           
 
Method Summary
 void changeKAoSExtensionComponentEnabledStatus(boolean state)
          change the 'enabled' status of the component
 java.lang.String getAssociatedOntologyType()
          Get the associated ontology type for the KAoSExtensionComponent object.
 boolean getKAoSExtensionComponentEnabledStatus()
          get the 'enabled' status of the component
 java.lang.String getKAoSExtensionComponentName()
          Get the (unique ?) name of this KAoSExtensionComponents object.
 void setAssociatedOntologyType(java.lang.String ontType)
          Set the associated ontology type for the KAoSExtensionComponent object.
 void setKAoSExtensionComponentName(java.lang.String name)
          Set the name of this KAoSExtensionComponents object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_associatedOntType

protected java.lang.String _associatedOntType

_componentName

protected java.lang.String _componentName

_enabledStatus

protected boolean _enabledStatus
Constructor Detail

KAoSExtensionComponentImpl

public KAoSExtensionComponentImpl(java.lang.String ontType,
                                  java.lang.String name)
Method Detail

getAssociatedOntologyType

public java.lang.String getAssociatedOntologyType()
Get the associated ontology type for the KAoSExtensionComponent object.

Specified by:
getAssociatedOntologyType in interface KAoSExtensionComponent
Returns:
String name of that ontology type.

setAssociatedOntologyType

public void setAssociatedOntologyType(java.lang.String ontType)
Set the associated ontology type for the KAoSExtensionComponent object.

Parameters:
ontType - a String indicating the associated ontology type of this component.

getKAoSExtensionComponentName

public java.lang.String getKAoSExtensionComponentName()
Get the (unique ?) name of this KAoSExtensionComponents object.

Specified by:
getKAoSExtensionComponentName in interface KAoSExtensionComponent
Parameters:
none. -
Returns:
String name of this component.

setKAoSExtensionComponentName

public void setKAoSExtensionComponentName(java.lang.String name)
Set the name of this KAoSExtensionComponents object.

Parameters:
name - a String to which name of this component is to be set.

changeKAoSExtensionComponentEnabledStatus

public void changeKAoSExtensionComponentEnabledStatus(boolean state)
change the 'enabled' status of the component

Specified by:
changeKAoSExtensionComponentEnabledStatus in interface KAoSExtensionComponent
Parameters:
state - the boolean parameter to change the status to.

getKAoSExtensionComponentEnabledStatus

public boolean getKAoSExtensionComponentEnabledStatus()
get the 'enabled' status of the component

Specified by:
getKAoSExtensionComponentEnabledStatus in interface KAoSExtensionComponent
Returns:
boolean indicating the 'enabled' status of this component.