The MdOMIUtil interface
provides wrapper methods for methods in the SAS Open Metadata Interface
IOMI server interface. Many of the methods in the MdOMIUtil interface
enable you to retrieve existing metadata objects from the SAS Metadata
Server.
The MdOMIUtil interface
also includes AddMetadata, UpdateMetadata, and DoRequest methods.
The AddMetadata and UpdateMetadata methods enable you to pass XML
metadata property strings that define SAS Metadata Model objects to
add and update metadata objects directly on the SAS Metadata Server,
instead of having to create Java objects. The DoRequest method enables
you to pass XML-formatted IOMI method calls to the server. Use of
these methods is not recommended. They duplicate functionality provided
by Java object interfaces provided by the SAS Java Metadata Interface.
The following table
summarizes the basic methods in the MdOMIUtil interface.
Basic MdOMIUtil Methods
|
|
|
Gets the ID and name
of all repositories registered on the SAS Metadata Server.
|
|
Returns the foundation
repository for the connected SAS Metadata Server.
|
|
Returns the ID of the
foundation repository.
|
|
Gets the properties
(attributes and associations) of a specified metadata object.
|
|
Issues a GetMetadata
request on the specified object, and then parses the output returned
by the SAS Metadata Server so that it is stored in a HashMap. The
HashMap contains attribute and association values in key=value pairs.
|
getMetadataObjectsNoCache
|
Issues a GetMetadataObjects
request on a specified metadata type, and parses the output returned
by the SAS Metadata Server so that each returned object's properties
are stored in a HashMap.
|
|
Gets metadata objects
of the requested metadata type.
|
|
Returns the path of
an object that resides in the SAS folder tree.
|
|
Gets the user home folder
for the specified user.
|
|
Passes an XML-formatted
IOMI method call to the SAS Metadata Server.
|
For reference information
about each method, see the SAS Java Metadata Interface documentation
at support.sas.com/93api.