|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualDatabaseMetadata
A VirtualDatabaseMetadata represent a virtual database in the repository. It provides a set of methods to retrive the information in the virtual database.
Method Summary | |
---|---|
java.util.Collection |
getAllModels()
Return all models that are defined in the VDB regardless of type or visibility. |
java.util.List |
getALLPaths(java.util.Collection models)
|
java.util.Collection |
getDisplayableModels()
Return the models that are used for presentation purposes. |
java.util.List |
getElementsInGroup(GroupID groupID)
Return an ordered list of ElementID's for the specified groupID. |
java.util.Collection |
getGroupsInModel(ModelID modelID)
Obtain a collection of GroupID's for the specified modelID. |
Model |
getModel(java.lang.String name)
Return model for the specified name |
java.util.Collection |
getProcedures(ModelID modelID)
Obtain a collection of ProcedureID's for the specified modelID. |
VirtualDatabase |
getVirtualDatabase()
Returns the VirtualDatabase for which this metadata object represents. |
VirtualDatabaseID |
getVirtualDatabaseID()
Returns the VirtualDatabaseID that identifies the VirtualDatabaseMetadata. |
boolean |
isModelDetailsLoaded()
Returns true if the metadata for the groups and elements have
been loaded. |
boolean |
isVisible(java.lang.String resourcePath)
Returns the visibility for a resource path. |
Method Detail |
---|
boolean isModelDetailsLoaded()
true
if the metadata for the groups and elements have
been loaded. The loading of the details are only used when the metadata tree
is beind displayed. So to cut down on the overhead when it's never been asked
for, the details are not loaded when only the models are needed by
query processing.
java.util.Collection getProcedures(ModelID modelID) throws VirtualDatabaseException
modelID
- is the id for the Model
VirtualDatabaseException
- if an error occurs while trying to read the data.java.util.Collection getDisplayableModels() throws VirtualDatabaseException
VirtualDatabaseException
java.util.Collection getAllModels() throws VirtualDatabaseException
VirtualDatabaseException
Model getModel(java.lang.String name) throws VirtualDatabaseException
VirtualDatabaseException
boolean isVisible(java.lang.String resourcePath) throws VirtualDatabaseException
resourcePath
-
true
if the resource is visible.
VirtualDatabaseException
java.util.List getElementsInGroup(GroupID groupID) throws VirtualDatabaseException
groupID
- is the group for which the elements are to be obtained.
VirtualDatabaseException
- if an error occurs while trying to read the data.VirtualDatabase getVirtualDatabase() throws VirtualDatabaseException
VirtualDatabase
for which this metadata object represents.
VirtualDatabaseException
- if an error occurs while trying to read the data.VirtualDatabaseID getVirtualDatabaseID()
java.util.List getALLPaths(java.util.Collection models) throws VirtualDatabaseException
VirtualDatabaseException
java.util.Collection getGroupsInModel(ModelID modelID) throws VirtualDatabaseException
modelID
- is the id for the Model
VirtualDatabaseException
- if an error occurs while trying to read the data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |