Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

NotificationTypes::Imports Interface Reference

An interface for Contains objects. More...

import "NotificationTypes.idl";

List of all members.

Public Methods

ImportsLinkSet all_Imports_links ()
 Return all the links in the Imports interface. More...

boolean exists (in EventType importer, in EventType imported)
 Check if an event type is imported by another event type. More...

EventTypeSet with_importer (in EventType importer)
 Find all the event types imported by some event type. More...

EventTypeSet with_imported (in EventType imported)
 Find the event types that import some event type. More...

void add (in EventType importer, in EventType imported) raises (Reflective::StructuralError, Reflective::SemanticError)
 Import the imported event type into the importer event type. More...

void modify_importer (in EventType importer, in EventType imported, in EventType new_importer) raises (Reflective::StructuralError, Reflective::NotFound, Reflective::SemanticError)
 Move an imported event type from one importer event type to another. More...

void modify_imported (in EventType importer, in EventType imported, in EventType new_imported) raises (Reflective::StructuralError, Reflective::NotFound, Reflective::SemanticError)
 Replace an imported event type with another. More...

void remove (in EventType importer, in EventType imported) raises (Reflective::StructuralError, Reflective::NotFound, Reflective::SemanticError)
 Remove an imported event type from an importer event type. More...


Detailed Description

An interface for Contains objects.

This is used to manage the import relationships between events in the singleton repository. The events can be manages either using the operations of this interface or by means of the generic operations in the RefAssociation interface.


Member Function Documentation

void NotificationTypes::Imports::add in EventType    importer,
in EventType    imported
raises (Reflective::StructuralError, Reflective::SemanticError)
 

Import the imported event type into the importer event type.

m <code>importer</code> - The event type to import to.
m <code>imported</code> - The event type to import.
@raises StructuralError Raised in the following circumstances:
  • Any event type does not exist in the repository.
  • A property in imported or any superclass of the imported event type has a different type in importer or any superclass of the event type importer.
@raises SemanticError Not raised by this implementation.

ImportsLinkSet NotificationTypes::Imports::all_Imports_links  
 

Return all the links in the Imports interface.

Returns:
An array of ImportsLink objects.

boolean NotificationTypes::Imports::exists in EventType    importer,
in EventType    imported
 

Check if an event type is imported by another event type.

m <code>composition</code> - The importer event type.
m <code>component</code> - The imported event type.
Returns:
True if imported, false otherwise.

void NotificationTypes::Imports::modify_imported in EventType    importer,
in EventType    imported,
in EventType    new_imported
raises (Reflective::StructuralError, Reflective::NotFound, Reflective::SemanticError)
 

Replace an imported event type with another.

m <code>importer</code> - The importer event type.
m <code>imported</code> - The exisiting imported event type.
m <code>new_imported</code> - The new imported event type.
@raises StructuralError Raised in the following circumstances:
  • Any event type does not exist in the repository.
  • A property in the importer event type hierarchy has a different event type in somewhere in the new_imported hierarchy.
@raises NotFound The importer event type does not import the imported event type. @raises SemanticError Not raised by this implementation.

void NotificationTypes::Imports::modify_importer in EventType    importer,
in EventType    imported,
in EventType    new_importer
raises (Reflective::StructuralError, Reflective::NotFound, Reflective::SemanticError)
 

Move an imported event type from one importer event type to another.

m <code>importer</code> - The exisiting importer event type.
m <code>imported</code> - The imported event type.
m <code>new_importer</code> - The new importer event type.
@raises StructuralError Raised in the following circumstances:
  • Any event type does not exist in the repository.
  • A property in the imported event type hierarchy has a different event type in somewhere in the new_importer hierarchy.
@raises NotFound The importer event type does not import the imported event type. @raises SemanticError Not raised by this implementation.

void NotificationTypes::Imports::remove in EventType    importer,
in EventType    imported
raises (Reflective::StructuralError, Reflective::NotFound, Reflective::SemanticError)
 

Remove an imported event type from an importer event type.

m <code>importer</code> - The importer event type.
m <code>imported</code> - The imported event type.
@raises StructuralError If any event type does not exist in the repository. @raises NotFound The importer event type does not import the imported event type. @raises SemanticError Not raised by this implementation.

EventTypeSet NotificationTypes::Imports::with_imported in EventType    imported
 

Find the event types that import some event type.

m <code>imported</code> - The imported event type.
Returns:
An array of event types that imports imported.

EventTypeSet NotificationTypes::Imports::with_importer in EventType    importer
 

Find all the event types imported by some event type.

m <code>importer</code> - The importer event type object.
Returns:
All the imported event types for that event type.