Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.comm
Class IBMiPIDVerify

java.lang.Object
  extended by com.ibm.etools.iseries.subsystems.qsys.comm.IBMiPIDVerify

public class IBMiPIDVerify
extends Object


Field Summary
static String copyright
           
 
Constructor Summary
IBMiPIDVerify(String p_pidStr, boolean p_required)
          The constructor for the ISeriesPIDVerify class
IBMiPIDVerify(String p_pidStr, boolean p_required, String p_pidOption)
          The constructor for the ISeriesPIDVerify class
 
Method Summary
 void addPTF(IBMiPTFVerify ptfVerify)
          Adds a PTF to this ISeriesReleaseVerify
 String getPIDOption()
          Returns the PID option.
 String getPIDStr()
          Returns the PID string.
 List<IBMiPTFVerify> getPTFs()
          Gets the PTFs associated with this ISeriesReleaseVerify
 boolean hasOption()
          Returns true if this PID has an option.
 boolean isPTFSuccessfull()
          Returns true if all the PTFs checked were successfull
 boolean isRequired()
          Returns true if this PID is required.
 boolean isSuccessfull()
          Returns true if the PID was successfull.
 boolean isSuccessfullWithOption()
          Returns true if the PID was successfull.
 void setSuccessfull(boolean success)
          Sets this PID to successfull or not.
 void setSuccessfullWithOption(boolean success)
          Sets this PID to successfull with option or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

IBMiPIDVerify

public IBMiPIDVerify(String p_pidStr,
                     boolean p_required)
The constructor for the ISeriesPIDVerify class

Parameters:
p_pidStr - The PID string.
p_required - A boolean, representing if this PID is required.

IBMiPIDVerify

public IBMiPIDVerify(String p_pidStr,
                     boolean p_required,
                     String p_pidOption)
The constructor for the ISeriesPIDVerify class

Parameters:
p_pidStr - The PID string.
p_required - A boolean, representing if this PID is required.
Method Detail

getPIDStr

public String getPIDStr()
Returns the PID string.


isRequired

public boolean isRequired()
Returns true if this PID is required.


hasOption

public boolean hasOption()
Returns true if this PID has an option.

Returns:

getPIDOption

public String getPIDOption()
Returns the PID option.

Returns:
the option.

setSuccessfull

public void setSuccessfull(boolean success)
Sets this PID to successfull or not.


setSuccessfullWithOption

public void setSuccessfullWithOption(boolean success)
Sets this PID to successfull with option or not.


isSuccessfull

public boolean isSuccessfull()
Returns true if the PID was successfull. Also would return true if it was never set, since by default successfull is true.


isSuccessfullWithOption

public boolean isSuccessfullWithOption()
Returns true if the PID was successfull. Also would return true if it was never set, since by default successfull is true.


addPTF

public void addPTF(IBMiPTFVerify ptfVerify)
Adds a PTF to this ISeriesReleaseVerify


getPTFs

public List<IBMiPTFVerify> getPTFs()
Gets the PTFs associated with this ISeriesReleaseVerify


isPTFSuccessfull

public boolean isPTFSuccessfull()
Returns true if all the PTFs checked were successfull


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.