public class SystemValueList
extends java.lang.Object
implements java.io.Serializable
SystemValue
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
GROUP_ALC
Constant indicating the system value's group is *ALC (Allocation).
|
static int |
GROUP_ALL
Constant indicating the system value's group is *ALL (All).
|
static int |
GROUP_DATTIM
Constant indicating the system value's group is *DATTIM (Date and Time).
|
static int |
GROUP_EDT
Constant indicating the system value's group is *EDT (Editing).
|
static int |
GROUP_LIBL
Constant indicating the system value's group is *LIBL (Library List).
|
static int |
GROUP_MSG
Constant indicating the system value's group is *MSG (Message and Logging).
|
static int |
GROUP_NET
Constant indicating the system value's group is *NET (Net Attribute).
|
static int |
GROUP_SEC
Constant indicating the system value's group is *SEC (Security).
|
static int |
GROUP_STG
Constant indicating the system value's group is *STG (Storage).
|
static int |
GROUP_SYSCTL
Constant indicating the system value's group is *SYSCTL (System control).
|
static int |
TYPE_ARRAY
Constant indicating the returned system value type is String[].
|
static int |
TYPE_DATE
Constant indicating the returned system value type is Date.
|
static int |
TYPE_DECIMAL
Constant indicating the returned system value type is BigDecimal.
|
static int |
TYPE_INTEGER
Constant indicating the returned system value type is Integer.
|
static int |
TYPE_STRING
Constant indicating the returned system value type is String.
|
Constructor and Description |
---|
SystemValueList()
Constructs a SystemValueList object.
|
SystemValueList(AS400 system)
Constructs a SystemValueList object.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener.
|
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a VetoableChangeListener.
|
java.util.Vector |
getGroup(int group)
Returns a set of SystemValue objects.
|
static int |
getGroupCount()
Returns the total number of possible groups.
|
static java.lang.String |
getGroupDescription(int group)
Returns the description for the specified system value group.
|
static java.lang.String |
getGroupDescription(int group,
java.util.Locale locale)
Returns the description for the specified system value group.
|
static java.lang.String |
getGroupName(int group)
Returns the name of the specified system value group.
|
static java.lang.String |
getGroupName(int group,
java.util.Locale locale)
Returns the name of the specified system value group.
|
AS400 |
getSystem()
Returns the system object representing the system on which the system value list exists.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the PropertyChangeListener.
|
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes the VetoableChangeListener.
|
void |
setSystem(AS400 system)
Sets the system object representing the system on which the system value list exists.
|
public static final int GROUP_ALC
public static final int GROUP_ALL
public static final int GROUP_DATTIM
public static final int GROUP_EDT
public static final int GROUP_LIBL
public static final int GROUP_MSG
public static final int GROUP_NET
public static final int GROUP_SEC
public static final int GROUP_STG
public static final int GROUP_SYSCTL
public static final int TYPE_ARRAY
public static final int TYPE_DATE
public static final int TYPE_DECIMAL
public static final int TYPE_INTEGER
public static final int TYPE_STRING
public SystemValueList()
public SystemValueList(AS400 system)
system
- The system that contains the system values.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener object.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener object.public java.util.Vector getGroup(int group) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException
group
- The system value group.SystemValue
objects.AS400SecurityException
- If a security or authority error occurs.ErrorCompletingRequestException
- If an error occurs before the request is completed.java.lang.InterruptedException
- If this thread is interrupted.java.io.IOException
- If an error occurs while communicating with the system.ObjectDoesNotExistException
- If the object does not exist on the system.public static int getGroupCount()
public static java.lang.String getGroupDescription(int group)
group
- The system value group.public static java.lang.String getGroupDescription(int group, java.util.Locale locale)
group
- The system value group.locale
- The Locale used to load the appropriate language.public static java.lang.String getGroupName(int group)
group
- The system value group.public static java.lang.String getGroupName(int group, java.util.Locale locale)
group
- The system value group.locale
- The Locale used to load the appropriate language.public AS400 getSystem()
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The listener object.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The listener object.public void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The system object representing the system on which the system value list exists.java.beans.PropertyVetoException
- If any of the registered listeners vetos the property change.