|
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 ContextType
A representation of the model object 'Type'. This type describes a context. A context contains a sequence of Component elements as well as its own definition. The purpose of a concrete context is to use a set of components to typically monitor a data source and produce Common Base Events. Logically a context can leverage any number of components and it is up to the context and it's contract with components as to how it uses the components. For example the basic context implementation provided in TPTP simply passes the results of one component to the next in the order they are declared in this document, and the first component is asserted to be a sensor.
The following features are supported:
GroupComponentDescriptionExecutable ClassImplementation Creation DateImplementation VersionImplementation Version DescriptionLogging LevelNameRoleRole Creation DateRole VersionRole Version DescriptionUnique ID
ContextPackage.getContextType()| 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 |
ContextRoleNames |
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(ContextRoleNames 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...
ContextPackage.getContextType_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.getContextType_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 Context Description is simply that, a detailed descriptive string, likely hilighting the the unique behavioural features of the context implementation. For example "A context that simply uses the sequential components as they are provided and assumes the first component is a sensor". This is an optional attribute and purely for documentation purposes.
setDescription(String),
ContextPackage.getContextType_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 context behaviour and complies with the apis required at the code level. This should be a fully package qualified class name.
setExecutableClass(String),
ContextPackage.getContextType_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.getContextType_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.getContextType_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.getContextType_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 to indicate what level of logging is allowed for a component.
setLoggingLevel(String),
ContextPackage.getContextType_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 context name is a simple name used to identify the context. It is a short human readable string. Typically a very small number of descriptive words that would not change over time as the context is perhaps enhanced over releases. For example "Product X error log monitor".
setName(String),
ContextPackage.getContextType_Name()void setName(java.lang.String value)
Name' attribute.
value - the new value of the 'Name' attribute.getName()ContextRoleNames getRole()
"context".
The literals are from the enumeration ContextRoleNames.
If the meaning of the 'Role' attribute isn't clear, there really should be more of a description here...
A context is itself a component. It is a specific type of component know as a context. This is it's role. See the component role attribute for more details.
ContextRoleNames,
isSetRole(),
unsetRole(),
setRole(ContextRoleNames),
ContextPackage.getContextType_Role()void setRole(ContextRoleNames value)
Role' attribute.
value - the new value of the 'Role' attribute.ContextRoleNames,
isSetRole(),
unsetRole(),
getRole()void unsetRole()
Role' attribute.
isSetRole(),
getRole(),
setRole(ContextRoleNames)boolean isSetRole()
Role' attribute is set.
unsetRole(),
getRole(),
setRole(ContextRoleNames)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.getContextType_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.getContextType_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.getContextType_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 context instance in the adapter. See the component unique ID description for more information.
setUniqueID(String),
ContextPackage.getContextType_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 | ||||||||