| User's Guide: A Framework for Object Persistency for GNAT; Version 0.6.1; Document Revision $Revision: 1.17 $ | ||
|---|---|---|
| Prev | Chapter 14. ODB.Entity | Next |
function Create(
Name : in String ) return Reference; this type represents the persistent collection.
Unknown_Attribute : exception;
Create an entity of the given name.
None.
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.
None
function Name(
This : in Reference ) return String ;
Preconditions:
Exceptions:
function Attributes(
This : in Reference ) return Attribute_Array_Access ;
Preconditions:
Exceptions:
procedure Destroy(
This : in out Reference );
Desctroy the entity
P.1 - The reference point to a collection.
C.1 - All resources are released
C.2 - The reference to the entity is set to null
Invalid_Object - P.1 violated
function Attribute(
This : in Reference;
Name : in String ) return Reference;
Preconditions:
Exceptions:
procedure Attribute(
This : in Reference;
Name : in String;
Value : in Reference );
Preconditions:
Exceptions: