com.ibm.dbb.build.report.records

Class CreatePDSRecord



  • public class CreatePDSRecord
    extends Record
    Create a build report record to store information about data set creation
    • Constructor Summary

      Constructors 
      Constructor and Description
      CreatePDSRecord()
      Construct a record with a default ID
      CreatePDSRecord(java.lang.String id)
      Construct a default record with a specific ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getDataset()
      Return the data set to be created
      java.lang.String getOptions()
      Return the options used to allocate the new data set
      boolean isExists()
      Return true if the data set already exists; false otherwise
      CreatePDSRecord parse(com.ibm.json.java.JSONObject jsonObj)
      Create the record from JSON.
      void setDataset(java.lang.String dataset)
      Set the data set to be created
      void setExists(boolean exists)
      Set whether the data set already exists
      void setOptions(java.lang.String options)
      Set the options to allocate the new data set
      com.ibm.json.java.JSONObject toJSON()
      Returns the record in JSON format.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CreatePDSRecord

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

        public CreatePDSRecord(java.lang.String id)
        Construct a default record with a specific ID
        Parameters:
        id - get id
    • Method Detail

      • getDataset

        public java.lang.String getDataset()
        Return the data set to be created
        Returns:
        the data set to be created
      • setDataset

        public void setDataset(java.lang.String dataset)
        Set the data set to be created
        Parameters:
        dataset - the data set to be created
      • getOptions

        public java.lang.String getOptions()
        Return the options used to allocate the new data set
        Returns:
        the options
      • setOptions

        public void setOptions(java.lang.String options)
        Set the options to allocate the new data set
        Parameters:
        options - the options
      • isExists

        public boolean isExists()
        Return true if the data set already exists; false otherwise
        Returns:
        true if the data set already exists
      • setExists

        public void setExists(boolean exists)
        Set whether the data set already exists
        Parameters:
        exists - true if the data set already exists
      • 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 CreatePDSRecord 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.