okapi.coreobjects
Class OkapiMetadata

java.lang.Object
  extended by okapi.coreobjects.OkapiMetadata

public class OkapiMetadata
extends java.lang.Object

Metadata object, general purpose, supporting Dublin Core and IMS LOM, but for now just manages a table of metadata tables, supporting local key/value pairs. Never implemented.

Version:
$Revision: 31044 $, $Date: 2008-09-02 17:08:01 -0400 (Tue, 02 Sep 2008) $
Author:
MIT Stellar team

Constructor Summary
OkapiMetadata(int metadataCode)
          Return metadata object identified by this metadataCode
OkapiMetadata(java.lang.String typeKey)
          Create or return metadata object identified by this typeKey
 
Method Summary
protected  int getMetadataCode()
          Return metadataCode of this Metadata
 void refreshFromDB()
          Refresh this object with the data currently stored in the DB.
 void setDataSource(javax.sql.DataSource dataSource)
          Set the dataSource to be used for data access.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OkapiMetadata

public OkapiMetadata(java.lang.String typeKey)
Create or return metadata object identified by this typeKey


OkapiMetadata

public OkapiMetadata(int metadataCode)
Return metadata object identified by this metadataCode

Method Detail

getMetadataCode

protected int getMetadataCode()
Return metadataCode of this Metadata


refreshFromDB

public void refreshFromDB()
Refresh this object with the data currently stored in the DB.


setDataSource

public void setDataSource(javax.sql.DataSource dataSource)
Set the dataSource to be used for data access.

Parameters:
dataSource -


Copyright ? 2001-2009 MIT. All Rights Reserved.