CORBAservices

Interface CosRelationships::Role

IDL source    Global index
interface Role


Attribute index.

  • related_object
  • Operation index.

  • check_minimum_cardinality
  • destroy
  • destroy_relationships
  • get_other_related_object
  • get_other_role
  • get_relationships
  • link
  • unlink
  • Exception index.

  • CannotDestroyRelationship
  • ParticipatingInRelationship
  • RelationshipTypeError
  • UnknownRelationship
  • UnknownRoleName
  • Attributes.

  • related_object

      readonly attribute RelatedObject related_object;

    Operations.

  • check_minimum_cardinality

      boolean check_minimum_cardinality();

  • destroy

      void destroy()
        raises(ParticipatingInRelationship);

  • destroy_relationships

      void destroy_relationships()
        raises(CannotDestroyRelationship);

  • get_other_related_object

      RelatedObject get_other_related_object(in RelationshipHandle rel,
          in RoleName target_name)
        raises(UnknownRoleName, UnknownRelationship);

  • get_other_role

      Role get_other_role(in RelationshipHandle rel,
          in RoleName target_name)
        raises(UnknownRoleName, UnknownRelationship);

  • get_relationships

      void get_relationships(in unsigned long how_many,
          out RelationshipHandles rels,
          out RelationshipIterator iterator);

  • link

      void link(in RelationshipHandle rel,
          in NamedRoles named_roles)
        raises(RelationshipFactory::MaxCardinalityExceeded, RelationshipTypeError);

  • unlink

      void unlink(in RelationshipHandle rel)
        raises(UnknownRelationship);

    Exceptions.

  • CannotDestroyRelationship

      exception CannotDestroyRelationship {
        RelationshipHandles offenders; 
      }; 
    

  • ParticipatingInRelationship

      exception ParticipatingInRelationship {
        RelationshipHandles the_relationships; 
      }; 
    

  • RelationshipTypeError

      exception RelationshipTypeError {
      }; 
    

  • UnknownRelationship

      exception UnknownRelationship {
      }; 
    

  • UnknownRoleName

      exception UnknownRoleName {
      }; 
    


    Generated by Sylvain BARTHELEMY, http://www.barth.netliberte.org,
    with Sandia idldoc 1.0.