com.metamatrix.admin.api.objects
Interface VDB

All Superinterfaces:
AdminObject
All Known Implementing Classes:
MMVDB

public interface VDB
extends AdminObject

Represents a Virtual Database in the MetaMatrix system.
A VDB has a name and a version.

The identifier pattern for a VDB is "name<AdminObject.DELIMITER_CHAR>version", where the name of the VDB and its version represent its unique identifier in the MetaMatrix system. There are no spaces allowed in a given VDB name, and VDB name must start with a letter. A version number is automatically assigned to a VDB when it is deployed into a system. A VDB is uniquely identified by "name<AdminObject.DELIMITER_CHAR>version". For example: "Accounts<AdminObject.DELIMITER_CHAR>1", "UnifiedSales<AdminObject.DELIMITER_CHAR>4" etc.

Since:
4.3

Field Summary
static int ACTIVE
          Active VDB
static int DELETED
          Mark VDB for Deletion
static int INACTIVE
          Inactive VDB (can edit connector binding)
static int INCOMPLETE
          Incomplete (if import does not have all the connector bindings)
static java.lang.String SERVER_REPOSITORY_LATEST_VERSION
          Constant to denote the latest version of a VDB located at a given repository location.
 
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Method Summary
 java.util.Collection getModels()
           
 int getState()
           
 java.lang.String getStateAsString()
           
 java.lang.String getVDBVersion()
           
 java.lang.String getVersionedBy()
           
 java.util.Date getVersionedDate()
           
 boolean hasMaterializedViews()
          Check to see if this VDB has any Materialized Models
 boolean hasWSDL()
          Check to see if this VDB contains a WSDL.
 
Methods inherited from interface com.metamatrix.admin.api.objects.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Field Detail

SERVER_REPOSITORY_LATEST_VERSION

static final java.lang.String SERVER_REPOSITORY_LATEST_VERSION
Constant to denote the latest version of a VDB located at a given repository location. Used when deploying a VDB to the MetaMatrix Server from the server repository.

See Also:
Constant Field Values

INCOMPLETE

static final int INCOMPLETE
Incomplete (if import does not have all the connector bindings)

Since:
4.3
See Also:
Constant Field Values

INACTIVE

static final int INACTIVE
Inactive VDB (can edit connector binding)

Since:
4.3
See Also:
Constant Field Values

ACTIVE

static final int ACTIVE
Active VDB

Since:
4.3
See Also:
Constant Field Values

DELETED

static final int DELETED
Mark VDB for Deletion

Since:
4.3
See Also:
Constant Field Values
Method Detail

getVersionedDate

java.util.Date getVersionedDate()
Returns:
date the VDB was versioned

getVersionedBy

java.lang.String getVersionedBy()
Returns:
user that versioned the VDB

getModels

java.util.Collection getModels()
Returns:
Collection of MMModels

getState

int getState()
Returns:
the status

getStateAsString

java.lang.String getStateAsString()
Returns:
the status

getVDBVersion

java.lang.String getVDBVersion()
Returns:
the VDB version

hasMaterializedViews

boolean hasMaterializedViews()
Check to see if this VDB has any Materialized Models

Returns:
true or false
Since:
4.3

hasWSDL

boolean hasWSDL()
Check to see if this VDB contains a WSDL.

Returns:
true if it contains a WSDL.
Since:
5.5.3


Copyright © 2009. All Rights Reserved.