com.ibm.as400.ui.tools
Class PDMLViewerBean

java.lang.Object
  extended by com.ibm.as400.ui.tools.PDMLViewerBean
All Implemented Interfaces:
DataBean, Serializable

public class PDMLViewerBean
extends Object
implements Serializable, DataBean

See Also:
Serialized Form

Constructor Summary
Constructor and Description
PDMLViewerBean()
           
 
Method Summary
Modifier and Type Method and Description
 Capabilities getCapabilities()
          Returns a Capabilities object which identifies the attributes that aren't supported by this DataBean.
 String getCountry()
           
 ChoiceDescriptor[] getCountryChoices()
           
 boolean getHelp()
           
 String getLanguage()
           
 ChoiceDescriptor[] getLanguageChoices()
           
 ItemDescriptor[] getNamesList()
           
 String getPDML()
           
 String getRC()
           
 String getResourceName()
           
 String getResourceType()
           
 boolean getSerialize()
           
 String getViewPDML()
           
 String getViewType()
           
 void load()
          Initializes this object.
 void save()
          Saves all changes that have been applied to this object via its accessor methods.
 void setCountry(String s)
           
 void setHelp(boolean b)
           
 void setLanguage(String s)
           
 void setNamesList(ItemDescriptor[] items)
           
 void setPDML(String s)
           
 void setRC(String s)
           
 void setResourceName(String s)
           
 void setResourceType(String s)
           
 void setSerialize(boolean b)
           
 void setViewPDML(String s)
           
 void setViewType(String s)
           
 void verifyChanges()
          Validates any changes that have been applied to this object via its accessor methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDMLViewerBean

public PDMLViewerBean()
Method Detail

setRC

public void setRC(String s)

getRC

public String getRC()

setPDML

public void setPDML(String s)

getPDML

public String getPDML()

setResourceName

public void setResourceName(String s)

getResourceName

public String getResourceName()

setLanguage

public void setLanguage(String s)

getLanguage

public String getLanguage()

getLanguageChoices

public ChoiceDescriptor[] getLanguageChoices()

setCountry

public void setCountry(String s)

getCountry

public String getCountry()

getCountryChoices

public ChoiceDescriptor[] getCountryChoices()

setViewPDML

public void setViewPDML(String s)

getViewPDML

public String getViewPDML()

setViewType

public void setViewType(String s)

getViewType

public String getViewType()

setResourceType

public void setResourceType(String s)

getResourceType

public String getResourceType()

setSerialize

public void setSerialize(boolean b)

getSerialize

public boolean getSerialize()

setHelp

public void setHelp(boolean b)

getHelp

public boolean getHelp()

setNamesList

public void setNamesList(ItemDescriptor[] items)

getNamesList

public ItemDescriptor[] getNamesList()

load

public void load()
Description copied from interface: DataBean
Initializes this object.

This method should be called prior to handing the DataBean off to the UI Framework. On return from this method the bean should be in a state where it is ready to return data on any of its accessor methods.

Specified by:
load in interface DataBean

save

public void save()
Description copied from interface: DataBean
Saves all changes that have been applied to this object via its accessor methods. Called when the user has clicked the OK button on a panel.

Specified by:
save in interface DataBean

getCapabilities

public Capabilities getCapabilities()
Description copied from interface: DataBean
Returns a Capabilities object which identifies the attributes that aren't supported by this DataBean. There are many reasons why a DataBean might not support a given attribute. For example:

The Capabilities object may provide a list of instructions, or HandlerTasks, which the UI framework is to perform. Typically these involve disabling or removing certain UI components from a panel.

Specified by:
getCapabilities in interface DataBean
Returns:
a Capabilities object which reflects this object's capabilities
See Also:
Capabilities

verifyChanges

public void verifyChanges()
Description copied from interface: DataBean
Validates any changes that have been applied to this object via its accessor methods.

This method is called just prior to save to give the receiver an opportunity to verify that its data is consistent with any changes made to other DataBeans associated with a given panel. If an inconsistency is discovered the DataBean should throw an exception. This will prevent the changes from being committed.

Specified by:
verifyChanges in interface DataBean