com.ibm.dbb.metadata

Interface Collection

    • Method Detail

      • copy

        Collection copy(java.lang.String newName)
                 throws BuildException
        Create a copy of this collection with the specified name
        Parameters:
        newName - Name of new collection
        Returns:
        new collection
        Throws:
        BuildException - an exception occurred
      • getName

        java.lang.String getName()
        Return the name of the Collection
        Returns:
        the name
      • setName

        void setName(java.lang.String name)
              throws BuildException
        Set the name of the Collection
        Parameters:
        name - the name of the collection
        Throws:
        BuildException
      • getLogicalFile

        LogicalFile getLogicalFile(java.lang.String file)
                            throws BuildException
        Return a logical file for a source file
        Parameters:
        file - optional source file
        Returns:
        the logical file
        Throws:
        BuildException - an exception occurred
      • getLogicalFiles

        java.util.List<LogicalFile> getLogicalFiles(java.lang.String logicalName)
                                             throws BuildException
        Return a list of logical files for a program
        Parameters:
        logicalName - the name of the program
        Returns:
        the list of logical files matching provided logical name
        Throws:
        BuildException - an exception occurred
      • getLogicalFiles

        java.util.List<LogicalFile> getLogicalFiles(LogicalDependency logicalDependency)
                                             throws BuildException
        Get all logical files that match a given logical dependency
        Parameters:
        logicalDependency - the logical dependency whose criteria is used to find matching dependencies. Null fields are not used for matching.
        Returns:
        the list of matching logical files
        Throws:
        BuildException - an exception occurred
      • getLogicalFiles

        java.util.List<LogicalFile> getLogicalFiles()
                                             throws BuildException
        Get a list of all logical files in a Collection
        Returns:
        the list of logical files
        Throws:
        BuildException - an exception occurred
      • deleteLogicalFile

        void deleteLogicalFile(java.lang.String file)
                        throws BuildException
        Delete a logical file for a given source file
        Parameters:
        file - the source file
        Throws:
        BuildException - an exception occurred
      • addLogicalFile

        void addLogicalFile(LogicalFile lfile)
                     throws BuildException
        Convenient method to save a logical file to the repository
        Parameters:
        lfile - the logical file
        Throws:
        BuildException - an exception occurred
      • addLogicalFiles

        void addLogicalFiles(java.util.List<LogicalFile> lfiles)
                      throws BuildException
        Save a list of logical files
        Parameters:
        lfiles - the list of logical files
        Throws:
        BuildException - an exception occurred

<IBM Copyright © 2018 IBM Corp. All Rights Reserved.