API Reference

function Create

   function Create(   
      Name : in String ) return Reference; 

this type represents the persistent collection.

   Unknown_Attribute : exception; 

Description

Create an entity of the given name.

Preconditions

None.

Postconditions

P.1 - The function returns a reference to the named entity. If the

named entity already exisits, the reference will be returned. Otherwise a new instance will be created.

Exceptions

None

function Name

   function Name(  
      This : in Reference ) return String ; 
 

Description

Preconditions:

Postconditions

Exceptions:

function Attributes

   function Attributes(  
      This : in Reference ) return Attribute_Array_Access ; 
 

Description

Preconditions:

Postconditions

Exceptions:

procedure Destroy

   procedure Destroy(  
      This : in out Reference ); 
 

Description

Desctroy the entity

Preconditions

P.1 - The reference point to a collection.

Postconditions

C.1 - All resources are released

C.2 - The reference to the entity is set to null

Exceptions

Invalid_Object - P.1 violated

function Attribute

   function Attribute(  
      This   : in Reference; 
      Name   : in String ) return Reference; 
 

Description

Preconditions:

Postconditions

Exceptions:

procedure Attribute

   procedure Attribute(  
      This   : in Reference; 
      Name   : in String; 
      Value  : in Reference ); 
 
 

Description

Preconditions:

Postconditions

Exceptions: