|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.SystemValue
The SystemValue class represents a system value or network attribute on the AS/400.
Constructor Summary | |
SystemValue()
Constructs a SystemValue object. |
|
SystemValue(AS400 system,
java.lang.String name)
Constructs a SystemValue object. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a listener to be notified when the value of any bound property is changed. |
void |
addSystemValueListener(SystemValueListener listener)
Adds a system value listener to receive system value events from this system value. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a listener to be notified when the value of any constrained property is changed. |
void |
clear()
Clears this system value from the cache. |
java.lang.String |
getDescription()
Returns the description for this system value. |
int |
getGroup()
Returns the system value group to which this system value belongs. |
java.lang.String |
getGroupDescription()
Returns the user-defined group description. |
java.lang.String |
getGroupName()
Returns the user-defined group name. |
java.lang.String |
getName()
Returns the name of this system value. |
int |
getRelease()
Returns the supported release version for this system value. |
int |
getSize()
Returns the length (in bytes) of this system value's data value component. |
AS400 |
getSystem()
Returns the system. |
int |
getType()
Returns the type for this system value. |
java.lang.Object |
getValue()
Returns the current value of this system value. |
boolean |
isReadOnly()
Indicates if this system value is read only or if it can be set by the user. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes this listener from being notified when a bound property changes. |
void |
removeSystemValueListener(SystemValueListener listener)
Removes a listener from the SystemValue listeners list. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes this listener from being notified when a constrained property changes. |
void |
setName(java.lang.String name)
Sets the system value name. |
void |
setSystem(AS400 system)
Sets the system. |
void |
setValue(java.lang.Object value)
Sets the value for this system value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SystemValue()
public SystemValue(AS400 system, java.lang.String name)
system
- The AS/400 that this system value references.name
- The name of the system value.Method Detail |
public void addSystemValueListener(SystemValueListener listener)
listener
- The system value listener.removeSystemValueListener(com.ibm.as400.access.SystemValueListener)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The VetoableChangeListener.removeVetoableChangeListener(java.beans.VetoableChangeListener)
public void clear()
public java.lang.String getDescription()
public int getGroup()
SystemValueList
public java.lang.String getGroupDescription()
public java.lang.String getGroupName()
public java.lang.String getName()
public int getRelease()
AS400.generateVRM(int, int, int)
public int getSize()
public AS400 getSystem()
public int getType()
SystemValueList
public java.lang.Object getValue() throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, ObjectDoesNotExistException, RequestNotSupportedException, java.net.UnknownHostException
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 AS/400.ObjectDoesNotExistException
- If the AS/400 object does not exist.RequestNotSupportedException
- If the release level of the AS/400 does not support the system value.java.net.UnknownHostException
- If the AS/400 system cannot be located.public boolean isReadOnly()
public void removeSystemValueListener(SystemValueListener listener)
listener
- The system value listener.addSystemValueListener(com.ibm.as400.access.SystemValueListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener
- The VetoableChangeListener.addVetoableChangeListener(java.beans.VetoableChangeListener)
public void setName(java.lang.String name) throws java.beans.PropertyVetoException
name
- The system value.java.beans.PropertyVetoException
- If the change is vetoed.public void setSystem(AS400 system) throws java.beans.PropertyVetoException
system
- The AS/400.java.beans.PropertyVetoException
- If the change is vetoed.public void setValue(java.lang.Object value) throws AS400SecurityException, ErrorCompletingRequestException, java.lang.InterruptedException, java.io.IOException, RequestNotSupportedException, java.net.UnknownHostException
value
- The data.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 AS/400.RequestNotSupportedException
- If the release level of the AS/400 does not support the system value.java.net.UnknownHostException
- If the AS/400 system cannot be located.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |