Class VDBMetaData

    • Constructor Detail

      • VDBMetaData

        public VDBMetaData()
      • VDBMetaData

        public VDBMetaData​(String name)
    • Method Detail

      • getFullName

        public String getFullName()
      • setConnectionType

        public void setConnectionType​(VDB.ConnectionType allowConnections)
      • setConnectionType

        public void setConnectionType​(String allowConnections)
      • setStatus

        public void setStatus​(VDB.Status s)
      • setStatus

        public void setStatus​(String s)
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in interface VDB
        Returns:
        the VDB version.
      • setVersion

        public void setVersion​(int version)
      • setVersion

        public void setVersion​(String version)
      • getModels

        public List<Model> getModels()
        Specified by:
        getModels in interface VDB
        Returns:
        Collection of Teiid Models
      • getOverrideTranslators

        public List<Translator> getOverrideTranslators()
        Description copied from interface: VDB
        Get the list of translators defined in the VDB
        Specified by:
        getOverrideTranslators in interface VDB
        Returns:
      • setOverrideTranslators

        public void setOverrideTranslators​(List<Translator> translators)
      • isOverideTranslator

        public boolean isOverideTranslator​(String name)
      • getDescription

        public String getDescription()
        Description copied from interface: VDB
        Get the description of the VDB
        Specified by:
        getDescription in interface VDB
        Returns:
      • setDescription

        public void setDescription​(String desc)
      • getValidityErrors

        public List<String> getValidityErrors()
        Description copied from interface: VDB
        Shows any validity errors present in the VDB
        Specified by:
        getValidityErrors in interface VDB
        Returns:
      • isValid

        public boolean isValid()
        Description copied from interface: VDB
        Shows if VDB is a valid entity
        Specified by:
        isValid in interface VDB
        Returns:
      • hasErrors

        public boolean hasErrors()
      • isVisible

        public boolean isVisible​(String modelName)
        Description copied from interface: VDB
        Whether the model is visible
        Specified by:
        isVisible in interface VDB
        Returns:
      • isXmlDeployment

        public boolean isXmlDeployment()
        If this is a *-vdb.xml deployment
        Returns:
      • setXmlDeployment

        public void setXmlDeployment​(boolean dynamic)
      • getDataPolicies

        public List<DataPolicy> getDataPolicies()
        Description copied from interface: VDB
        Get the data roles defined on this VDB
        Specified by:
        getDataPolicies in interface VDB
        Returns:
      • setDataPolicies

        public void setDataPolicies​(List<DataPolicy> policies)
        This method is required by the Management framework to write the mappings to the persistent form. The actual assignment is done in the VDBMetaDataClassInstancefactory
        Parameters:
        policies -
      • isPreview

        public boolean isPreview()
      • getQueryTimeout

        public long getQueryTimeout()
      • getImportedModels

        public Set<String> getImportedModels()
      • setImportedModels

        public void setImportedModels​(Set<String> importedModels)
      • getEntries

        public List<EntryMetaData> getEntries()
        Description copied from interface: VDB
        Get the list of other resources included in the VDB
        Specified by:
        getEntries in interface VDB
        Returns:
      • setVisibilityOverride

        public void setVisibilityOverride​(String name,
                                          boolean visible)
      • getVisibilityOverrides

        public Map<String,​Boolean> getVisibilityOverrides()