|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.core.csi.extension.KAoSExtensionComponentImpl
public class KAoSExtensionComponentImpl
Default implementation of the KAoSExtensionComponent interface $Revision: 1.8 $
Field Summary | |
---|---|
protected java.util.List<java.lang.String> |
_associatedOntTypes
|
protected java.lang.String |
_componentName
|
Constructor Summary | |
---|---|
KAoSExtensionComponentImpl()
|
|
KAoSExtensionComponentImpl(java.lang.String name,
java.util.List<java.lang.String> ontTypes)
Basic Constructor |
|
KAoSExtensionComponentImpl(java.lang.String name,
java.lang.String ontType)
Simplified Constructor |
Method Summary | |
---|---|
void |
addOntologicalAttribute(java.lang.String ontAttribute)
Add an ontological attribute the component is associated with. |
boolean |
getEnabledStatus()
Return 'true/false', indicating the 'enabled/disabled' status of the component. |
java.lang.String |
getName()
Return the (unique) name of this KAoSExtensionComponent object. |
java.util.List<java.lang.String> |
getOntologicalAttributes()
Returns the associated ontological concepts for the KAoSExtensionComponent object. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.String> _associatedOntTypes
protected java.lang.String _componentName
Constructor Detail |
---|
public KAoSExtensionComponentImpl()
public KAoSExtensionComponentImpl(java.lang.String name, java.util.List<java.lang.String> ontTypes)
name
- - name of the componentontTypes
- - list of ontology concept names characterizing the component functionalitypublic KAoSExtensionComponentImpl(java.lang.String name, java.lang.String ontType)
name
- - name of the componentontType
- - single ontology concept name characterizing the component functionalityMethod Detail |
---|
public java.util.List<java.lang.String> getOntologicalAttributes()
getOntologicalAttributes
in interface KAoSExtensionComponent
public java.lang.String getName()
getName
in interface KAoSExtensionComponent
public void setEnabledStatus(boolean status)
setEnabledStatus
in interface KAoSExtensionComponent
status
- boolean parameter to set the 'enabled/disabled' status topublic boolean getEnabledStatus()
getEnabledStatus
in interface KAoSExtensionComponent
public void addOntologicalAttribute(java.lang.String ontAttribute)
addOntologicalAttribute
in interface KAoSExtensionComponent
ontAttribute
- String containing the name of the ontological attribute.public void setName(java.lang.String componentName)
setName
in interface KAoSExtensionComponent
componentName
- String containing the name of this component.public void setProperties(ServiceProperties props)
setProperties
in interface KAoSExtensionComponent
props
- ServiceProperties containing the properties of this component.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |