Package com.ibm.dbb.build.report.records
Class CreatePDSRecord
- java.lang.Object
-
- com.ibm.dbb.build.report.records.Record
-
- com.ibm.dbb.build.report.records.CreatePDSRecord
-
public class CreatePDSRecord extends Record
Create a build report record to store information about data set creation
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_DATASET
static java.lang.String
PROP_EXISTS
static java.lang.String
PROP_OPTIONS
-
Constructor Summary
Constructors Constructor Description CreatePDSRecord()
Construct a record with a default IDCreatePDSRecord(java.lang.String id)
Construct a default record with a specific ID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDataset()
Return the data set to be createdjava.lang.String
getOptions()
Return the options used to allocate the new data setboolean
isExists()
Returntrue
if the data set already exists;false
otherwiseCreatePDSRecord
parse(com.google.gson.JsonObject jsonObj)
Create the record from JSON.void
setDataset(java.lang.String dataset)
Set the data set to be createdvoid
setExists(boolean exists)
Set whether the data set already existsvoid
setOptions(java.lang.String options)
Set the options to allocate the new data setcom.google.gson.JsonObject
toJSON()
Returns the record in JSON format.
-
-
-
Field Detail
-
PROP_DATASET
public static final java.lang.String PROP_DATASET
- See Also:
- Constant Field Values
-
PROP_OPTIONS
public static final java.lang.String PROP_OPTIONS
- See Also:
- Constant Field Values
-
PROP_EXISTS
public static final java.lang.String PROP_EXISTS
- See Also:
- Constant Field Values
-
-
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()
Returntrue
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.google.gson.JsonObject toJSON()
Returns the record in JSON format.
-
parse
public CreatePDSRecord parse(com.google.gson.JsonObject jsonObj)
Create the record from JSON.
-
-