KbComponentService Object Services | 7 | ![]() |
The KbComponentService module is defined in the file named:
The KbComponentService module provides services to create, manipulate, and destroy objects that represent components, subcomponents, and their features.
It's version information is:
$Id: KbComponentService.idl,v 1.44 1997-08-07 17:03:13-04 wlf Exp $
It is defined in the Java package named:
org.cert.KbComponentService
module KbComponentService
{
Forward declarations:
interface Component;
interface ComponentFactory;
interface ComponentFeature;
interface SocialComponent;
interface SystemComponent;
Sequence declarations:
typedef sequence<Component> SeqOfComponent;
typedef sequence<ComponentFactory> SeqOfComponentFactory;
typedef sequence<ComponentFeature> SeqOfComponentFeature;
typedef sequence<SocialComponent> SeqOfSocialComponent;
typedef sequence<SystemComponent> SeqOfSystemComponent;
exception NoSuchSystemComponent {
};
exception NoSuchSocialComponent {
};
exception NoSuchComponentFeature {
};
typedef sequence<ComponentFeature> ComponentFeatures;
interface ComponentFeature {
The name attribute contains a short natural language name for this object that is expected to be used in a GUI environment.
attribute string name;
The description attribute contains a complete natural language description of the feature.
attribute string description;
The property_set association attribute contains one single PropertySet object. This object is expected to have an arbitrary number of properties that describe the feature in a subjective manner.
readonly attribute
KosPropertyService::PropertySet property_set;
};
interface Component {
The name attribute contains a short natural language name for this object that is expected to be used in a GUI environment.
attribute string name;
The description attribute contains a complete natural language description of the component.
attribute string description;
The component_features association attribute contains a set of ComponentFeature objects. These objects are expected to represent relevant features of the component.
readonly attribute
KosCollection::Set
/*
of
ComponentFeature
*/
component_features;
The reference_component_feature operation adds an existing ComponentFeature object to the set of objects contained in the component_features association attribute.
void reference_component_feature(
in ComponentFeature feature
);
The unreference_component_feature operation removes an existing ComponentFeature object from the set of objects contained in the component_features association attribute.
void unreference_component_feature(
in ComponentFeature feature
);
};
interface SocialComponent : Component {
};
interface SystemComponent : Component {
The version_info attribute contains some component specific string that identifies the version, release, build, or other versioning designation for the SystemComponent.
attribute string version_info;
The release_date attribute contains the date that the SystemComponent was released for use.
attribute Kb::Date release_date;
The creator association attribute contains a SocialGrouping object that represents the original creator of the SystemComponent.
attribute
KbIdentificationService::SocialGrouping creator;
The maintainer association attribute contains a SocialGrouping object that represents the current maintainer of the SystemComponent.
attribute
KbIdentificationService::SocialGrouping
maintainer;
};
interface ComponentFactory {
The create_component_feature operation creates new ComponentFeature object.
ComponentFeature create_component_feature();
The create_system_component operation creates a new SystemComponent object.
SystemComponent create_system_component();
The create_social_component operation creates a new SocialComponent object.
SocialComponent create_social_component();
The find_component_features operation finds existing ComponentFeature objects.
void find_component_features(
in string property_name,
in any property_value,
out ComponentFeatures component_features
);
};
};