|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.access.SystemValueList
public class SystemValueList
Provided methods for retrieving information about lists of System Values.
SystemValue
,
Serialized FormField Summary | |
---|---|
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 Summary | |
---|---|
SystemValueList()
Constructs a SystemValueList object. |
|
SystemValueList(AS400 system)
Constructs a SystemValueList object. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener. |
void |
addVetoableChangeListener(VetoableChangeListener listener)
Adds a VetoableChangeListener. |
Vector |
getGroup(int group)
Returns a set of SystemValue objects. |
static int |
getGroupCount()
Returns the total number of possible groups. |
static String |
getGroupDescription(int group)
Returns the description for the specified system value group. |
static String |
getGroupDescription(int group,
Locale locale)
Returns the description for the specified system value group. |
static String |
getGroupName(int group)
Returns the name of the specified system value group. |
static String |
getGroupName(int group,
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(PropertyChangeListener listener)
Removes the PropertyChangeListener. |
void |
removeVetoableChangeListener(VetoableChangeListener listener)
Removes the VetoableChangeListener. |
void |
setSystem(AS400 system)
Sets the system object representing the system on which the system value list exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public SystemValueList()
public SystemValueList(AS400 system)
system
- The system that contains the system values.Method Detail |
---|
public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- The listener object.public void addVetoableChangeListener(VetoableChangeListener listener)
listener
- The listener object.public Vector getGroup(int group) throws AS400SecurityException, ErrorCompletingRequestException, InterruptedException, 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.
InterruptedException
- If this thread is interrupted.
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 String getGroupDescription(int group)
group
- The system value group.
public static String getGroupDescription(int group, Locale locale)
group
- The system value group.locale
- The Locale used to load the appropriate language.
public static String getGroupName(int group)
group
- The system value group.
public static String getGroupName(int group, Locale locale)
group
- The system value group.locale
- The Locale used to load the appropriate language.
public AS400 getSystem()
public void removePropertyChangeListener(PropertyChangeListener listener)
listener
- The listener object.public void removeVetoableChangeListener(VetoableChangeListener listener)
listener
- The listener object.public void setSystem(AS400 system) throws PropertyVetoException
system
- The system object representing the system on which the system value list exists.
PropertyVetoException
- If any of the registered listeners vetos the property change.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |