Previous | Table of Contents | Next |
A <home_header> describes fundamental characteristics of a home interface.
Syntax
The syntax for a home header declaration is as follows:
(127) <home_header> ::= “home? <identifier> [ <home_inheritance_spec> ] [ <supported_interface_spec> ] “manages? <scoped_name>
[ <primary_key_spec> ]
(128)<home_inheritance_spec> ::= “:? <scoped_name>
(129) <primary_key_spec> ::= “primarykey? <scoped_name>
A <home_header> consists of the following elements:
• The keyword home.
•An <identifier> that names the home in the enclosing name scope.
• An optional <home_inheritance_spec>, consisting of a colon “:? and a single <scoped_name> that denotes a previously defined home type.
• An optional <supported_interface_spec> that must denote one or more previously defined IDL interfaces.
• The keyword manages.
•A <scoped_name> that denotes a previously defined component type.
• An optional primary key definition, consisting of the keyword primarykey followed by a <scoped_name> that denotes a previously defined value type that is derived from the abstract value type Components::PrimaryKeyBase. Additional constraints on primary keys are described in the CORBA Components specification, Component Model chapter, “Primary key type constraints? section.
Details of semantics can be found in the CORBA Components specification, Component Model chapter, “Homes? section.