Previous Page | Next Page

Understanding com.sas.metadata.remote Interfaces and Classes

Working with the CMetadata Interface

The CMetadata interface is the intermediate 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, FQID, 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
Method Name Description
delete 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.
dispose Removes the object and all links to an object and clears it from memory.
getCMetadataType Returns the metadata type of an object.
getObjectStore Gets the object store for an object.
getRepositoryID Returns an object's repository identifier.
updateMetadataAll Persists new and modified objects in the SAS Metadata Server.

Previous Page | Next Page | Top of Page