CORBA 2.6.1 Administration Guide

Changes the values of one or more existing keys
Adds one or more new keys
entity entity-name [ "{" {key value}... "}" ]
entity-name
is the name of an entity.
If
entity-name does not exist, entity adds it to the current database, along with any key-value pairs.
If
entity-name does exist, but no key-value pairs are specified, entity displays all of the keys of entity-name and their values.
key
is the name of a key. The list of key-value pairs must be enclosed in braces.
If
key already belongs to entity-name, entity sets the value of key to value.
If
key does not already belong to entity-name, entity adds key to entity-name and sets the value of key to value.
value
is the value to which key is to be set.
Note:
Each key-value pair must be on a separate line. (If necessary, you can continue a long line by ending it with a
backslash (\) and continuing on the next physical line), for example:
entity Entity1 {
key1 value1
key2 value2
key3 value3 }
entityaddkeyvalue
Adds a key and its value to an entity in the current database.
entityaddkeyvalue entity-name key value
entity-name
is the name of an entity.
If
entity-name does not exist, entityaddkeyvalue adds it to the current database, along with the key value pair.
key
is the name of a key.
If
key already belongs to entity-name, entityaddkeyvalue sets the value of key to value.
If
key does not already belongs to entity-name, entityaddkeyvalue adds key to entity-name and sets the value of key to value.
value
is the value to which key is to be set.
entitydelete
Deletes an entity from the current database.
entitydelete entity-name
entity-name
is the name of an entity to be deleted.
If
entity-name does not exist, entitydelete displays an error message.
entitydeletekey
Deletes a key from an entity in the current database.
entitydeletekey entity-name key
entity-name
is the name of an entity.
If
entity-name does not exist, entitydeletekey displays an error message.
key
is the name of the key to be deleted from entity-name.
If
key does not belong to entity-name, entitydeletekey displays an error message.
entitykeys
Displays all the keys of an entity in the current database.
entitykeys
entity-name