|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Component
A representation of the model object 'Component'. This type describes a loadable component, by providing the executable class name and descriptive information for the purpose of compatability checking for the component. A component provides a stage of processing within a context. There is a minmal interface contract between the context and the components it uses. As long as a component implements the interface it can be managed by a context. The role of the component is optionally used by a context implementation to determine how to manage and leverage the component.
The following features are supported:
GroupComponentDescriptionExecutable ClassImplementation Creation DateImplementation VersionImplementation Version DescriptionLogging LevelNameRoleRole Creation DateRole VersionRole Version DescriptionUnique ID
ContextPackage.getComponent()| Method Summary | |
|---|---|
org.eclipse.emf.common.util.EList |
getComponent()
Returns the value of the 'Component' containment reference list. |
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute |
java.lang.String |
getExecutableClass()
Returns the value of the 'Executable Class' attribute |
org.eclipse.emf.ecore.util.FeatureMap |
getGroup()
Returns the value of the 'Group' attribute list. |
java.lang.Object |
getImplementationCreationDate()
Returns the value of the 'Implementation Creation Date' attribute |
java.lang.String |
getImplementationVersion()
Returns the value of the 'Implementation Version' attribute |
java.lang.String |
getImplementationVersionDescription()
Returns the value of the 'Implementation Version Description' attribute |
java.lang.String |
getLoggingLevel()
Returns the value of the 'Logging Level' attribute |
java.lang.String |
getName()
Returns the value of the 'Name' attribute |
RoleNames |
getRole()
Returns the value of the 'Role' attribute. |
java.lang.Object |
getRoleCreationDate()
Returns the value of the 'Role Creation Date' attribute |
java.lang.String |
getRoleVersion()
Returns the value of the 'Role Version' attribute |
java.lang.String |
getRoleVersionDescription()
Returns the value of the 'Role Version Description' attribute |
java.lang.String |
getUniqueID()
Returns the value of the 'Unique ID' attribute |
boolean |
isSetRole()
Returns whether the value of the ' Role' attribute is set |
void |
setDescription(java.lang.String value)
Sets the value of the ' Description' attribute |
void |
setExecutableClass(java.lang.String value)
Sets the value of the ' Executable Class' attribute |
void |
setImplementationCreationDate(java.lang.Object value)
Sets the value of the ' Implementation Creation Date' attribute |
void |
setImplementationVersion(java.lang.String value)
Sets the value of the ' Implementation Version' attribute |
void |
setImplementationVersionDescription(java.lang.String value)
Sets the value of the ' Implementation Version Description' attribute |
void |
setLoggingLevel(java.lang.String value)
Sets the value of the ' Logging Level' attribute |
void |
setName(java.lang.String value)
Sets the value of the ' Name' attribute |
void |
setRole(RoleNames value)
Sets the value of the ' Role' attribute |
void |
setRoleCreationDate(java.lang.Object value)
Sets the value of the ' Role Creation Date' attribute |
void |
setRoleVersion(java.lang.String value)
Sets the value of the ' Role Version' attribute |
void |
setRoleVersionDescription(java.lang.String value)
Sets the value of the ' Role Version Description' attribute |
void |
setUniqueID(java.lang.String value)
Sets the value of the ' Unique ID' attribute |
void |
unsetRole()
Unsets the value of the ' Role' attribute |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
org.eclipse.emf.ecore.util.FeatureMap getGroup()
FeatureMap.Entry.
If the meaning of the 'Group' attribute list isn't clear, there really should be more of a description here...
A component is allowed to have sub components. If this is the case, it is completely up to the component to understand how to use these sub-components as well as how to manage them as components in the overall context in the adapter.
ContextPackage.getComponent_Group()org.eclipse.emf.common.util.EList getComponent()
Component.
If the meaning of the 'Component' containment reference list isn't clear, there really should be more of a description here...
ContextPackage.getComponent_Component()java.lang.String getDescription()
If the meaning of the 'Description' attribute isn't clear, there really should be more of a description here...
A Component description is simply that, a detailed descriptive string, likely hilighting the the unique behavioural features of the context implementation. For example "A sensor of a single file in the local file system and monitors updates based on a timer". This is an optional attribute and purely for documentation purposes.
setDescription(String),
ContextPackage.getComponent_Description()void setDescription(java.lang.String value)
Description' attribute.
value - the new value of the 'Description' attribute.getDescription()java.lang.String getExecutableClass()
If the meaning of the 'Executable Class' attribute isn't clear, there really should be more of a description here...
The executable class is the class that implements the component behaviour and complies with the apis required at the code level. This should be a fully package qualified class name.
setExecutableClass(String),
ContextPackage.getComponent_ExecutableClass()void setExecutableClass(java.lang.String value)
Executable Class' attribute.
value - the new value of the 'Executable Class' attribute.getExecutableClass()java.lang.Object getImplementationCreationDate()
If the meaning of the 'Implementation Creation Date' attribute isn't clear, there really should be more of a description here...
An optional attribute that provides the date this version of the component implemenation was created or built.
setImplementationCreationDate(Object),
ContextPackage.getComponent_ImplementationCreationDate()void setImplementationCreationDate(java.lang.Object value)
Implementation Creation Date' attribute.
value - the new value of the 'Implementation Creation Date' attribute.getImplementationCreationDate()java.lang.String getImplementationVersion()
If the meaning of the 'Implementation Version' attribute isn't clear, there really should be more of a description here...
A number representing the version of the component implementation. This attribute is required.
setImplementationVersion(String),
ContextPackage.getComponent_ImplementationVersion()void setImplementationVersion(java.lang.String value)
Implementation Version' attribute.
value - the new value of the 'Implementation Version' attribute.getImplementationVersion()java.lang.String getImplementationVersionDescription()
If the meaning of the 'Implementation Version Description' attribute isn't clear, there really should be more of a description here...
n optional attribute that provides a description of the version of the component implementation.
setImplementationVersionDescription(String),
ContextPackage.getComponent_ImplementationVersionDescription()void setImplementationVersionDescription(java.lang.String value)
Implementation Version Description' attribute.
value - the new value of the 'Implementation Version Description' attribute.getImplementationVersionDescription()java.lang.String getLoggingLevel()
If the meaning of the 'Logging Level' attribute isn't clear, there really should be more of a description here...
All components have a logger and the logging level is used ot indicate what level of logging is allowed for a component.
setLoggingLevel(String),
ContextPackage.getComponent_LoggingLevel()void setLoggingLevel(java.lang.String value)
Logging Level' attribute.
value - the new value of the 'Logging Level' attribute.getLoggingLevel()java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
The component name is a simple name used to identify the component. It is a short human readable string. Typically a very small number of descriptive words that would not change over time as the component is perhaps enhanced over releases. For example "local file system sensor".
setName(String),
ContextPackage.getComponent_Name()void setName(java.lang.String value)
Name' attribute.
value - the new value of the 'Name' attribute.getName()RoleNames getRole()
"sensor".
The literals are from the enumeration RoleNames.
If the meaning of the 'Role' attribute isn't clear, there really should be more of a description here...
A component plays a specific role in a given context or parent component in the sense that it provides a specific type of processing within the context. There are a specific set of phases that are promoted by the adapter and these are described in the roleNames schema of this schema. A key reason for typing or categorizing a component is to allow a context or parent component to categorically leverage the component. For example a context implementation may just use each component in the order they are declared in this schema. However the context may also determine the processing order base on the role of the component.
RoleNames,
isSetRole(),
unsetRole(),
setRole(RoleNames),
ContextPackage.getComponent_Role()void setRole(RoleNames value)
Role' attribute.
value - the new value of the 'Role' attribute.RoleNames,
isSetRole(),
unsetRole(),
getRole()void unsetRole()
Role' attribute.
isSetRole(),
getRole(),
setRole(RoleNames)boolean isSetRole()
Role' attribute is set.
unsetRole(),
getRole(),
setRole(RoleNames)java.lang.Object getRoleCreationDate()
If the meaning of the 'Role Creation Date' attribute isn't clear, there really should be more of a description here...
An optional attribute that provides the date this version of the role definition was created or published.
setRoleCreationDate(Object),
ContextPackage.getComponent_RoleCreationDate()void setRoleCreationDate(java.lang.Object value)
Role Creation Date' attribute.
value - the new value of the 'Role Creation Date' attribute.getRoleCreationDate()java.lang.String getRoleVersion()
If the meaning of the 'Role Version' attribute isn't clear, there really should be more of a description here...
A number representing the version of the role defintion. This attribute is required.
setRoleVersion(String),
ContextPackage.getComponent_RoleVersion()void setRoleVersion(java.lang.String value)
Role Version' attribute.
value - the new value of the 'Role Version' attribute.getRoleVersion()java.lang.String getRoleVersionDescription()
If the meaning of the 'Role Version Description' attribute isn't clear, there really should be more of a description here...
An optional attribute that provides a description of the version of the role definition.
setRoleVersionDescription(String),
ContextPackage.getComponent_RoleVersionDescription()void setRoleVersionDescription(java.lang.String value)
Role Version Description' attribute.
value - the new value of the 'Role Version Description' attribute.getRoleVersionDescription()java.lang.String getUniqueID()
If the meaning of the 'Unique ID' attribute isn't clear, there really should be more of a description here...
The unique ID is used to uniquely identify the specific component instance in the adapter. This is the primary way the instance in this config is connected with a component configuration in the component configuration xml file that will be associated with a running adapter. This is needed because a given component implemenation may be used multiple times within an adapter. In the case of a context, the adapter may be running and monitoring dozens of data sources, but all the context implementations may in fact be the same executable class etcetera.
setUniqueID(String),
ContextPackage.getComponent_UniqueID()void setUniqueID(java.lang.String value)
Unique ID' attribute.
value - the new value of the 'Unique ID' attribute.getUniqueID()
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||