org.teiid.adminapi
Interface VDB

All Superinterfaces:
AdminObject, Serializable
All Known Implementing Classes:
VDBMetaData

public interface VDB
extends AdminObject

Represents a Virtual Database in the Teiid 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 Teiid 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

Nested Class Summary
static class VDB.ConnectionType
           
static class VDB.Status
           
 
Field Summary
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Method Summary
 VDB.ConnectionType getConnectionType()
           
 List<DataPolicy> getDataPolicies()
          Get the data roles defined on this VDB
 String getDescription()
          Get the description of the VDB
 List<Model> getModels()
           
 List<Translator> getOverrideTranslators()
          Get the list of translators defined in the VDB
 VDB.Status getStatus()
           
 String getUrl()
          Get the URL for the VDB
 List<String> getValidityErrors()
          Shows any validity errors present in the VDB
 int getVersion()
           
 boolean isValid()
          Shows if VDB is a valid entity
 
Methods inherited from interface org.teiid.adminapi.AdminObject
getName, getProperties, getPropertyValue
 

Method Detail

getModels

List<Model> getModels()
Returns:
Collection of Teiid Models

getStatus

VDB.Status getStatus()
Returns:
the status

getConnectionType

VDB.ConnectionType getConnectionType()
Returns:
the connection status

getVersion

int getVersion()
Returns:
the VDB version

getUrl

String getUrl()
Get the URL for the VDB

Returns:

getDescription

String getDescription()
Get the description of the VDB

Returns:

getValidityErrors

List<String> getValidityErrors()
Shows any validity errors present in the VDB

Returns:

isValid

boolean isValid()
Shows if VDB is a valid entity

Returns:

getDataPolicies

List<DataPolicy> getDataPolicies()
Get the data roles defined on this VDB

Returns:

getOverrideTranslators

List<Translator> getOverrideTranslators()
Get the list of translators defined in the VDB

Returns:


Copyright © 2012. All Rights Reserved.