com.ibm.dbb.build.report.records

Class DependencySetRecord



  • public class DependencySetRecord
    extends Record
    The record containing the dependency set record
    • Constructor Detail

      • DependencySetRecord

        public DependencySetRecord()
        Construct a record with a default ID
      • DependencySetRecord

        public DependencySetRecord(java.lang.String id)
        Create a dependency set record with a specific ID
        Parameters:
        id - the ID of the record
    • Method Detail

      • addDependency

        public void addDependency(PhysicalDependency dependency)
        Add a physical dependency to the record
        Parameters:
        dependency - the dependency to be added
      • addAllDependencies

        public void addAllDependencies(java.util.List<PhysicalDependency> dependencies)
        Add all physical dependencies to the record
        Parameters:
        dependencies - the list of dependencies to be added
      • getAllDependencies

        public java.util.List<PhysicalDependency> getAllDependencies()
        Retrieve all dependencies in this record
        Returns:
        the list of physical dependencies
      • getFile

        public java.lang.String getFile()
        Return the file to store the dependencies
        Returns:
        the file
      • setFile

        public void setFile(java.lang.String file)
        Set the file to store dependencies
        Parameters:
        file - the file
      • toJSON

        public com.ibm.json.java.JSONObject toJSON()
        Returns the record in JSON format.
        Overrides:
        toJSON in class Record
        Returns:
        the JSON format of this record.
      • parse

        public Record parse(com.ibm.json.java.JSONObject jsonObj)
        Create the record from JSON.
        Overrides:
        parse in class Record
        Parameters:
        jsonObj - The object in JSON to be parsed.
        Returns:
        the record representing by the supplied JSON contents.

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