wt.vc.config
Class SetProductInstanceConfigSpecDelegate.ConfigSpecHolder2

java.lang.Object
  extended bywt.vc.config.SetProductInstanceConfigSpecDelegate.ConfigSpecHolder2
Enclosing class:
SetProductInstanceConfigSpecDelegate

public class SetProductInstanceConfigSpecDelegate.ConfigSpecHolder2
extends Object

Helper class for taking in the information passed in the form and converting it into a configuration specification.


Field Summary
private  ConfigSpec configSpec
           
private  String configSpecType
           
private  String instanceRef
           
private  String standartPlannedDate
           
private  String theDate
           
 
Constructor Summary
SetProductInstanceConfigSpecDelegate.ConfigSpecHolder2()
           
 
Method Summary
 ConfigSpec getConfigSpec()
          Returns the ConfigSpec associated with this ConfigSpecHolder2.
 int getConfigSpecType()
          Returns an int value indicating the type of Configuration Specification which has been set.
 Timestamp getDate()
          Returns the date associated with the configuration specification.
 SerialNumberedConfiguredInstanceVersion getInstance()
          Returns the instance object used in the configuration specification.
private  Object getObjectFromReference(String reference)
           
 boolean isPlannedDate()
          Returns a boolean which indicates whether or not planned date is used.
 void setConfigSpecType(String config_spec_type)
           
 void setDate(String date)
           
 void setInstance(String instance_ref)
           
 void setPlannedDate(String show)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

configSpecType

private String configSpecType

instanceRef

private String instanceRef

standartPlannedDate

private String standartPlannedDate

configSpec

private ConfigSpec configSpec

theDate

private String theDate
Constructor Detail

SetProductInstanceConfigSpecDelegate.ConfigSpecHolder2

public SetProductInstanceConfigSpecDelegate.ConfigSpecHolder2()
Method Detail

getConfigSpecType

public int getConfigSpecType()
Returns an int value indicating the type of Configuration Specification which has been set.

Returns:
an int indicating the type of configuration specification set.

setConfigSpecType

public void setConfigSpecType(String config_spec_type)

isPlannedDate

public boolean isPlannedDate()
Returns a boolean which indicates whether or not planned date is used.


setPlannedDate

public void setPlannedDate(String show)

getInstance

public SerialNumberedConfiguredInstanceVersion getInstance()
                                                    throws WTException
Returns the instance object used in the configuration specification. If no instance has been set, this method returns null.

Throws:
WTException

setInstance

public void setInstance(String instance_ref)

getDate

public Timestamp getDate()
Returns the date associated with the configuration specification. If no date has been set, null is returned.

Returns:
the Timestamp specifying the effectivity date of the effectivity configuration specification, or null if no date has been set.

setDate

public void setDate(String date)

toString

public String toString()

getConfigSpec

public ConfigSpec getConfigSpec()
                         throws WTPropertyVetoException,
                                WTException
Returns the ConfigSpec associated with this ConfigSpecHolder2. If the actual ConfigSpec object doesn't currently exist, this method will create the ConfigSpec object.

Throws:
WTPropertyVetoException
WTException

getObjectFromReference

private Object getObjectFromReference(String reference)
                               throws WTException
Throws:
WTException