All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.SystemValueList

java.lang.Object
   |
   +----com.ibm.as400.access.SystemValueList

public class SystemValueList
extends Object
implements Serializable

Variable Index

 o GROUP_ALC
Constant indicating the system value's group is *ALC (Allocation).
 o GROUP_ALL
Constant indicating the system value's group is *ALL (All).
 o GROUP_DATTIM
Constant indicating the system value's group is *DATTIM (Date and Time).
 o GROUP_EDT
Constant indicating the system value's group is *EDT (Editing).
 o GROUP_LIBL
Constant indicating the system value's group is *LIBL (Library List).
 o GROUP_MSG
Constant indicating the system value's group is *MSG (Message and Logging).
 o GROUP_NET
Constant indicating the system value's group is *NET (Net Attribute).
 o GROUP_SEC
Constant indicating the system value's group is *SEC (Security).
 o GROUP_STG
Constant indicating the system value's group is *STG (Storage).
 o GROUP_SYSCTL
Constant indicating the system value's group is *SYSCTL (System control).
 o TYPE_ARRAY
Constant indicating the returned system value type is String[].
 o TYPE_DATE
Constant indicating the returned system value type is Date.
 o TYPE_DECIMAL
Constant indicating the returned system value type is BigDecimal.
 o TYPE_INTEGER
Constant indicating the returned system value type is Integer.
 o TYPE_STRING
Constant indicating the returned system value type is String.

Constructor Index

 o SystemValueList()
Constructs a SystemValueList object.
 o SystemValueList(AS400)
Constructs a SystemValueList object.

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Adds a PropertyChangeListener.
 o addVetoableChangeListener(VetoableChangeListener)
Adds the VetoableChangeListener.
 o getGroup(int)
Returns a set of SystemValue objects.
 o getGroupCount()
Returns the total number of possible groups.
 o getGroupDescription(int)
Returns the description for the specified system value group.
 o getGroupName(int)
Returns the name of the specified system value group.
 o getSystem()
Returns the system.
 o removePropertyChangeListener(PropertyChangeListener)
Removes the PropertyChangeListener from the internal list.
 o removeVetoableChangeListener(VetoableChangeListener)
Removes the VetoableChangeListener from the internal list.
 o setSystem(AS400)
Sets the system.

Variables

 o GROUP_ALC
 public static final int GROUP_ALC
Constant indicating the system value's group is *ALC (Allocation).

 o GROUP_ALL
 public static final int GROUP_ALL
Constant indicating the system value's group is *ALL (All).

 o GROUP_DATTIM
 public static final int GROUP_DATTIM
Constant indicating the system value's group is *DATTIM (Date and Time).

 o GROUP_EDT
 public static final int GROUP_EDT
Constant indicating the system value's group is *EDT (Editing).

 o GROUP_LIBL
 public static final int GROUP_LIBL
Constant indicating the system value's group is *LIBL (Library List).

 o GROUP_MSG
 public static final int GROUP_MSG
Constant indicating the system value's group is *MSG (Message and Logging).

 o GROUP_NET
 public static final int GROUP_NET
Constant indicating the system value's group is *NET (Net Attribute).

 o GROUP_SEC
 public static final int GROUP_SEC
Constant indicating the system value's group is *SEC (Security).

 o GROUP_STG
 public static final int GROUP_STG
Constant indicating the system value's group is *STG (Storage).

 o GROUP_SYSCTL
 public static final int GROUP_SYSCTL
Constant indicating the system value's group is *SYSCTL (System control).

 o TYPE_ARRAY
 public static final int TYPE_ARRAY
Constant indicating the returned system value type is String[].

 o TYPE_DATE
 public static final int TYPE_DATE
Constant indicating the returned system value type is Date.

 o TYPE_DECIMAL
 public static final int TYPE_DECIMAL
Constant indicating the returned system value type is BigDecimal.

 o TYPE_INTEGER
 public static final int TYPE_INTEGER
Constant indicating the returned system value type is Integer.

 o TYPE_STRING
 public static final int TYPE_STRING
Constant indicating the returned system value type is String.

Constructors

 o SystemValueList
 public SystemValueList()
Constructs a SystemValueList object. It creates a default SystemValueList object. The system property must be set before attempting a connection.

 o SystemValueList
 public SystemValueList(AS400 system)
Constructs a SystemValueList object. It creates a SystemValueList instance that represents a list of system values on system.

Parameters:
system - The AS/400 that contains the system values.

Methods

 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener.

Parameters:
listener - The PropertyChangeListener.
See Also:
removePropertyChangeListener
 o addVetoableChangeListener
 public void addVetoableChangeListener(VetoableChangeListener listener)
Adds the VetoableChangeListener.

Parameters:
listener - The VetoableChangeListener.
See Also:
removeVetoableChangeListener
 o getGroup
 public Vector getGroup(int group) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, IOException, ObjectDoesNotExistException, PropertyVetoException, UnknownHostException
Returns a set of SystemValue objects. Returns the system values that belong to the system value group specified by group and sorted by name.

Parameters:
group - The system value group.
Returns:
A Vector of SystemValue objects.
Throws: AS400SecurityException
If a security or authority error occurs.
Throws: ErrorCompletingRequestException
If an error occurs before the request is completed.
Throws: InterruptedException
If this thread is interrupted.
Throws: IOException
If an error occurs while communicating with the AS/400.
Throws: ObjectDoesNotExistException
If the AS/400 object does not exist.
Throws: PropertyVetoException
If the change is vetoed.
Throws: UnknownHostException
If the AS/400 system cannot be located.
 o getGroupCount
 public static int getGroupCount()
Returns the total number of possible groups.

Returns:
The number of groups.
 o getGroupDescription
 public static String getGroupDescription(int group)
Returns the description for the specified system value group.

Parameters:
group - The system value group.
Returns:
The description of the system value group.
 o getGroupName
 public static String getGroupName(int group)
Returns the name of the specified system value group.

Parameters:
group - The system value group.
Returns:
The name of the system value group.
 o getSystem
 public AS400 getSystem()
Returns the system.

Returns:
The AS/400.
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Removes the PropertyChangeListener from the internal list. If the PropertyChangeListener is not on the list, nothing is done.

Parameters:
listener - The PropertyChangeListener.
See Also:
addPropertyChangeListener
 o removeVetoableChangeListener
 public void removeVetoableChangeListener(VetoableChangeListener listener)
Removes the VetoableChangeListener from the internal list. If the VetoableChangeListener is not on the list, nothing is done.

Parameters:
listener - The VetoableChangeListener.
See Also:
addVetoableChangeListener
 o setSystem
 public void setSystem(AS400 system) throws PropertyVetoException
Sets the system.

Parameters:
system - The AS/400.
Throws: PropertyVetoException
If the change is vetoed.

All Packages  Class Hierarchy  This Package  Previous  Next  Index