|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.as400.access.DataQueueAttributes
The DataQueueAttributes class represents an AS/400 data queue attributes object.
| Constructor Summary | |
DataQueueAttributes()
|
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a listener to be notified when the value of any bound property changes. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener listener)
Adds a listener to be notified when the value of any constrained property changes. |
java.lang.String |
getAuthority()
Returns the public authority of the data queue. |
java.lang.String |
getDescription()
Returns the text description of the data queue. |
int |
getEntryLength()
Returns the maximum entry length of the data queue. |
int |
getKeyLength()
Returns the byte length of the keys of the data queue. |
boolean |
isFIFO()
Returns a value that indicates if entries are read in FIFO order. |
boolean |
isForceToAuxiliaryStorage()
Returns a value that indicates if entries are forced to auxiliary storage. |
boolean |
isSaveSenderInfo()
Returns whether sender information is stored with each data queue entry. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a property change listener. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
Removes a vetoable change listener. |
void |
setAuthority(java.lang.String authority)
Sets the public authority of the data queue. |
void |
setDescription(java.lang.String description)
Sets the text description of the data queue. |
void |
setEntryLength(int entryLength)
Sets the maximum number of bytes per data queue entry. |
void |
setFIFO(boolean FIFO)
Sets a value that indicates if entries are read in FIFO order. |
void |
setForceToAuxiliaryStorage(boolean forceToAuxiliaryStorage)
Sets a value that indicates if entries are forced to auxiliary storage. |
void |
setKeyLength(int keyLength)
Sets the number of bytes per data queue key. |
void |
setSaveSenderInfo(boolean saveSenderInfo)
Sets whether sender information is stored with each data queue entry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataQueueAttributes()
| Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The listener.public void addVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener - The listener.public java.lang.String getAuthority()
public java.lang.String getDescription()
public int getEntryLength()
public int getKeyLength()
public boolean isFIFO()
public boolean isForceToAuxiliaryStorage()
public boolean isSaveSenderInfo()
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The listener.public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener)
listener - The listener.
public void setAuthority(java.lang.String authority)
throws java.beans.PropertyVetoException
authority - The public authority of the data queue. Valid values are *ALL, *CHANGE, *EXCLUDE, *USE, *LIBCRTAUT.java.beans.PropertyVetoException - If the change is vetoed.
public void setDescription(java.lang.String description)
throws java.beans.PropertyVetoException
description - The text description. This string must be 50 characters or less.java.beans.PropertyVetoException - If the change is vetoed.
public void setEntryLength(int entryLength)
throws java.beans.PropertyVetoException
entryLength - The maximum number of bytes per data queue entry. Valid values are 1-64512.java.beans.PropertyVetoException - If the change is vetoed.
public void setFIFO(boolean FIFO)
throws java.beans.PropertyVetoException
FIFO - true if queue entries are processed in FIFO order; false otherwise.java.beans.PropertyVetoException - If the change is vetoed.
public void setForceToAuxiliaryStorage(boolean forceToAuxiliaryStorage)
throws java.beans.PropertyVetoException
forceToAuxiliaryStorage - true if writes are forced to storage before return; false otherwise.java.beans.PropertyVetoException - If the change is vetoed.
public void setKeyLength(int keyLength)
throws java.beans.PropertyVetoException
keyLength - The number of bytes per data queue key. Valid values are 1-256.java.beans.PropertyVetoException - If the change is vetoed.
public void setSaveSenderInfo(boolean saveSenderInfo)
throws java.beans.PropertyVetoException
saveSenderInformation - true if sender information is saved; false otherwise.java.beans.PropertyVetoException - If the change is vetoed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||