The CMetadata interface
is the parent interface that is used to describe all metadata objects,
such as a PhysicalTable, Column, Person, or LogicalServer. The CMetadata
interface contains the basic attributes for all metadata objects,
such as Name, Description, Id, MetadataCreated time, and MetadataUpdated
time. All metadata objects inherit these attributes. They also inherit
the routines that are used to get and set these attributes. For example,
routines such as getName and setName or getDesc and setDesc are all
inherited from CMetadata.
Other frequently used
CMetadata methods are summarized in the following table.
Frequently Used CMetadata Methods
|
|
|
Marks an object as deleted
in its parent object store. The object remains available until the
object store is persisted to the SAS Metadata Server with the updateMetadataAll()
method.
|
|
Removes the object and
all links to an object and clears it from memory.
|
|
Returns the metadata
type of an object.
|
|
Gets the object store
for an object.
|
|
Returns an object's
repository identifier.
|
|
Persists new and modified
objects to the SAS Metadata Server.
|