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
-
GROUP_ALC
- Constant indicating the system value's group is *ALC (Allocation).
-
GROUP_ALL
- Constant indicating the system value's group is *ALL (All).
-
GROUP_DATTIM
- Constant indicating the system value's group is *DATTIM (Date and Time).
-
GROUP_EDT
- Constant indicating the system value's group is *EDT (Editing).
-
GROUP_LIBL
- Constant indicating the system value's group is *LIBL (Library List).
-
GROUP_MSG
- Constant indicating the system value's group is *MSG (Message and Logging).
-
GROUP_NET
- Constant indicating the system value's group is *NET (Net Attribute).
-
GROUP_SEC
- Constant indicating the system value's group is *SEC (Security).
-
GROUP_STG
- Constant indicating the system value's group is *STG (Storage).
-
GROUP_SYSCTL
- Constant indicating the system value's group is *SYSCTL (System control).
-
TYPE_ARRAY
- Constant indicating the returned system value type is String[].
-
TYPE_DATE
- Constant indicating the returned system value type is Date.
-
TYPE_DECIMAL
- Constant indicating the returned system value type is BigDecimal.
-
TYPE_INTEGER
- Constant indicating the returned system value type is Integer.
-
TYPE_STRING
- Constant indicating the returned system value type is String.
-
SystemValueList()
- Constructs a SystemValueList object.
-
SystemValueList(AS400)
- Constructs a SystemValueList object.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a PropertyChangeListener.
-
addVetoableChangeListener(VetoableChangeListener)
- Adds the VetoableChangeListener.
-
getGroup(int)
- Returns a set of SystemValue objects.
-
getGroupCount()
- Returns the total number of possible groups.
-
getGroupDescription(int)
- Returns the description for the specified system value group.
-
getGroupName(int)
- Returns the name of the specified system value group.
-
getSystem()
- Returns the system.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes the PropertyChangeListener from the internal list.
-
removeVetoableChangeListener(VetoableChangeListener)
- Removes the VetoableChangeListener from the internal list.
-
setSystem(AS400)
- Sets the system.
GROUP_ALC
public static final int GROUP_ALC
- Constant indicating the system value's group is *ALC (Allocation).
GROUP_ALL
public static final int GROUP_ALL
- Constant indicating the system value's group is *ALL (All).
GROUP_DATTIM
public static final int GROUP_DATTIM
- Constant indicating the system value's group is *DATTIM (Date and Time).
GROUP_EDT
public static final int GROUP_EDT
- Constant indicating the system value's group is *EDT (Editing).
GROUP_LIBL
public static final int GROUP_LIBL
- Constant indicating the system value's group is *LIBL (Library List).
GROUP_MSG
public static final int GROUP_MSG
- Constant indicating the system value's group is *MSG (Message and Logging).
GROUP_NET
public static final int GROUP_NET
- Constant indicating the system value's group is *NET (Net Attribute).
GROUP_SEC
public static final int GROUP_SEC
- Constant indicating the system value's group is *SEC (Security).
GROUP_STG
public static final int GROUP_STG
- Constant indicating the system value's group is *STG (Storage).
GROUP_SYSCTL
public static final int GROUP_SYSCTL
- Constant indicating the system value's group is *SYSCTL (System control).
TYPE_ARRAY
public static final int TYPE_ARRAY
- Constant indicating the returned system value type is String[].
TYPE_DATE
public static final int TYPE_DATE
- Constant indicating the returned system value type is Date.
TYPE_DECIMAL
public static final int TYPE_DECIMAL
- Constant indicating the returned system value type is BigDecimal.
TYPE_INTEGER
public static final int TYPE_INTEGER
- Constant indicating the returned system value type is Integer.
TYPE_STRING
public static final int TYPE_STRING
- Constant indicating the returned system value type is String.
SystemValueList
public SystemValueList()
- Constructs a SystemValueList object.
It creates a default SystemValueList object. The system property
must be set before attempting a connection.
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.
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Adds a PropertyChangeListener.
- Parameters:
- listener - The PropertyChangeListener.
- See Also:
- removePropertyChangeListener
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)
- Adds the VetoableChangeListener.
- Parameters:
- listener - The VetoableChangeListener.
- See Also:
- removeVetoableChangeListener
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.
getGroupCount
public static int getGroupCount()
- Returns the total number of possible groups.
- Returns:
- The number of groups.
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.
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.
getSystem
public AS400 getSystem()
- Returns the system.
- Returns:
- The AS/400.
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
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
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