All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.vaccess.VSystemPool

java.lang.Object
   |
   +----com.ibm.as400.vaccess.VSystemPool

public class VSystemPool
extends Object
implements VObject, Serializable
The VSystemPool class defines the representation of system pool on an AS/400 for use in various models and panes in this package.

Most errors are reported as ErrorEvents rather than throwing exceptions. Users should listen for ErrorEvents in order to diagnose and recover from error conditions.

VSystemPool objects generate the following events:


Variable Index

 o IDENTIFIER_PROPERTY
The property identifier for the system pool identifier.
 o POOL_SIZE_PROPERTY
The property identifier for the pool size.
 o RESERVED_SIZE_PROPERTY
The property identifier for the reserved size.

Constructor Index

 o VSystemPool()
Constructs a VSystemPool object.
 o VSystemPool(SystemPool)
Constructs a VSystemPool object.

Method Index

 o addErrorListener(ErrorListener)
Adds a listener to be notified when an error occurs.
 o addPropertyChangeListener(PropertyChangeListener)
Adds a listener to be notified when the value of any bound property changes.
 o addVetoableChangeListener(VetoableChangeListener)
Adds a listener to be notified when the value of any constrained property changes.
 o addVObjectListener(VObjectListener)
Adds a listener to be notified when a VObject is changed, created, or deleted.
 o addWorkingListener(WorkingListener)
Adds a listener to be notified when work starts and stops on potentially long-running operations.
 o errorOccurred(ErrorEvent)
Invoked when an error has occurred.
 o getActions()
Returns the list of actions that can be performed.
 o getDefaultAction()
Returns the default action.
 o getIcon(int, boolean)
Returns the icon.
 o getPropertiesPane()
Returns the properties pane.
 o getPropertyValue(Object)
Returns a property value.
 o getSystem()
Returns the AS/400 system in which the system pool information resides.
 o getSystemPool()
Returns the systemPool.
 o getText()
Returns the text which is the system pool name.
 o isAllowModify()
Returns true if the modify action is allowed, false otherwise.
 o load()
Loads information about the object from the AS/400.
 o removeErrorListener(ErrorListener)
Removes an error listener.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a property change listener.
 o removeVetoableChangeListener(VetoableChangeListener)
Removes a vetoable change listener.
 o removeVObjectListener(VObjectListener)
Removes a VObjectListener.
 o removeWorkingListener(WorkingListener)
Removes a working listener.
 o setAllowModify(boolean)
Set the state of modify action.
 o setSystemPool(SystemPool)
Sets the SystemPool object.
 o toString()
Returns the string representation of the system pool name.

Variables

 o IDENTIFIER_PROPERTY
 public static String IDENTIFIER_PROPERTY
The property identifier for the system pool identifier.

 o POOL_SIZE_PROPERTY
 public static String POOL_SIZE_PROPERTY
The property identifier for the pool size.

 o RESERVED_SIZE_PROPERTY
 public static String RESERVED_SIZE_PROPERTY
The property identifier for the reserved size.

Constructors

 o VSystemPool
 public VSystemPool()
Constructs a VSystemPool object.

 o VSystemPool
 public VSystemPool(SystemPool systemPool)
Constructs a VSystemPool object.

Parameters:
systemPool - The SystemPool object.

Methods

 o addErrorListener
 public void addErrorListener(ErrorListener listener)
Adds a listener to be notified when an error occurs.

Parameters:
listener - The listener.
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener to be notified when the value of any bound property changes.

Parameters:
listener - The listener.
 o addVetoableChangeListener
 public void addVetoableChangeListener(VetoableChangeListener listener)
Adds a listener to be notified when the value of any constrained property changes.

Parameters:
listener - The listener.
 o addVObjectListener
 public void addVObjectListener(VObjectListener listener)
Adds a listener to be notified when a VObject is changed, created, or deleted.

Parameters:
listener - The listener.
 o addWorkingListener
 public void addWorkingListener(WorkingListener listener)
Adds a listener to be notified when work starts and stops on potentially long-running operations.

Parameters:
listener - The listener.
 o errorOccurred
 public void errorOccurred(ErrorEvent event)
Invoked when an error has occurred.

Parameters:
event - The error event.
 o getActions
 public VAction[] getActions()
Returns the list of actions that can be performed.

Returns:
Always null. There are no actions.
 o getDefaultAction
 public VAction getDefaultAction()
Returns the default action.

Returns:
Always null. There is no default action.
 o getIcon
 public Icon getIcon(int size,
                     boolean open)
Returns the icon.

Parameters:
size - The icon's size, either 16 or 32. If any other value is given, a default one will be returned.
open - This parameter has no effect.
Returns:
The icon.
 o getPropertiesPane
 public VPropertiesPane getPropertiesPane()
Returns the properties pane.

Returns:
The properties pane.
 o getPropertyValue
 public Object getPropertyValue(Object propertyIdentifier)
Returns a property value.

Parameters:
propertyIdentifier - The property identifier.
Returns:
The property value, or null if the property identifier is not recognized.
 o getSystem
 public AS400 getSystem()
Returns the AS/400 system in which the system pool information resides.

Returns:
The AS/400 system in which the system pool information resides.
 o getSystemPool
 public SystemPool getSystemPool()
Returns the systemPool.

Returns:
The systemPool, or null if it has not been set.
 o getText
 public String getText()
Returns the text which is the system pool name.

Returns:
The text which is the system pool name.
 o isAllowModify
 public boolean isAllowModify()
Returns true if the modify action is allowed, false otherwise.

Returns:
s true if the modify action is allowed, false otherwise.
 o load
 public void load()
Loads information about the object from the AS/400.

 o removeErrorListener
 public void removeErrorListener(ErrorListener listener)
Removes an error listener.

Parameters:
listener - The listener.
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener.

Parameters:
listener - The listener.
 o removeVetoableChangeListener
 public void removeVetoableChangeListener(VetoableChangeListener listener)
Removes a vetoable change listener.

Parameters:
listener - The listener.
 o removeVObjectListener
 public void removeVObjectListener(VObjectListener listener)
Removes a VObjectListener.

Parameters:
listener - The listener.
 o removeWorkingListener
 public void removeWorkingListener(WorkingListener listener)
Removes a working listener.

Parameters:
listener - The listener.
 o setAllowModify
 public void setAllowModify(boolean allowModify)
Set the state of modify action.

Parameters:
allowModify - The boolean value.
 o setSystemPool
 public void setSystemPool(SystemPool systemPool) throws PropertyVetoException
Sets the SystemPool object.

Parameters:
systemPool - The SystemPool object.
Throws: PropertyVetoException
If the change is vetoed.
 o toString
 public String toString()
Returns the string representation of the system pool name.

Returns:
The string representation of the system pool name.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index