All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.access.DataQueueAttributes
java.lang.Object
|
+----com.ibm.as400.access.DataQueueAttributes
- public class DataQueueAttributes
- extends Object
- implements Serializable
The DataQueueAttributes class represents
an AS/400 data queue attributes object.
-
DataQueueAttributes()
-
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a PropertyChangeListener.
-
addVetoableChangeListener(VetoableChangeListener)
- Adds a VetoableChangeListener.
-
getAuthority()
- Returns the Public authority for the data queue.
-
getDescription()
- Returns the text description of the data queue.
-
getEntryLength()
- Returns the maximum entry length of the data queue.
-
getKeyLength()
- Returns the number of bytes per data queue key.
-
isFIFO()
- Returns whether entries are read off of the data queue in
FIFO order.
-
isForceToAuxiliaryStorage()
- Returns whether entries are immediately written to permanent storage.
-
isSaveSenderInfo()
- Returns whether sender information is stored with each data
queue entry.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes this PropertyChangeListener from the internal list.
-
removeVetoableChangeListener(VetoableChangeListener)
- Removes this VetoableChangeListener from the JellyBeans internal list.
-
setAuthority(String)
- Sets the Public authority for the data queue.
-
setDescription(String)
- Sets the text description of the data queue.
-
setEntryLength(int)
- Sets the maximum entry length of the data queue.
-
setFIFO(boolean)
- Sets the order in which entries are read off of the data queue.
-
setForceToAuxiliaryStorage(boolean)
- Sets the force to auxilary storage value.
-
setKeyLength(int)
- Set the number of bytes per data queue key.
-
setSaveSenderInfo(boolean)
- Sets whether sender information is stored with each data
queue entry.
DataQueueAttributes
public DataQueueAttributes()
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Adds a PropertyChangeListener.
The specified PropertyChangeListeners propertyChange method will
be called each time the value of any bound property is changed.
The PropertyListener object is addded to a list of PropertyChangeListeners
managed by this CommandCall, it can be removed with removePropertyChangeListener.
- Parameters:
- l - The PropertyChangeListener.
- See Also:
- removePropertyChangeListener
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener l)
- Adds a VetoableChangeListener.
The specified VetoableChangeListeners vetoableChange method will
be called each time the value of any constrained property is changed.
- Parameters:
- l - The VetoableChangeListener.
- See Also:
- removeVetoableChangeListener
getAuthority
public String getAuthority()
- Returns the Public authority for the data queue.
- Returns:
- The public authority for the data queue.
Valid values are *ALL, *CHANGE, *EXCLUDE,
*USE, *LIBCRTAUT.
getDescription
public String getDescription()
- Returns the text description of the data queue.
- Returns:
- The text description. This string must be 50
characters or less.
getEntryLength
public int getEntryLength()
- Returns the maximum entry length of the data queue.
- Returns:
- The maximum entry length.
getKeyLength
public int getKeyLength()
- Returns the number of bytes per data queue key.
- Returns:
- The number of bytes per data queue key. Valid
values are 1-256.
isFIFO
public boolean isFIFO()
- Returns whether entries are read off of the data queue in
FIFO order.
If true, entries are read off of the data queue in FIFO
order. If false, entries are read off of the data queue
in LIFO order.
- Returns:
- true if entries are read in FIFO order;
false if entries are read in LIFO order.
isForceToAuxiliaryStorage
public boolean isForceToAuxiliaryStorage()
- Returns whether entries are immediately written to permanent storage.
If true, entries are immediately written to permanent
storage. If false, written entries may be kept in memory
and could be lost in the case of a power outage.
- Returns:
- true if entries are forced to auxiliary
storage; false if entries may be kept in
memory and could be lost in the case of
a power outage.
isSaveSenderInfo
public boolean isSaveSenderInfo()
- Returns whether sender information is stored with each data
queue entry.
- Returns:
- true if sender information is saved; false otherwise.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Removes this PropertyChangeListener from the internal list.
If the PropertyChangeListener isn't on the list, silently do nothing.
- Parameters:
- l - The PropertyChangeListener.
- See Also:
- addPropertyChangeListener
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener l)
- Removes this VetoableChangeListener from the JellyBeans internal list.
If the VetoableChangeListener isn't on the list, silently do nothing.
- Parameters:
- l - The VetoableChangeListener.
- See Also:
- addVetoableChangeListener
setAuthority
public void setAuthority(String authority) throws PropertyVetoException
- Sets the Public authority for the data queue.
- Parameters:
- authority - The public authority for the data queue.
Valid values are *ALL, *CHANGE, *EXCLUDE,
*USE, *LIBCRTAUT.
- Throws: PropertyVetoException
- If a change is vetoed.
setDescription
public void setDescription(String description) throws PropertyVetoException
- Sets the text description of the data queue.
- Parameters:
- description - The text description. This string must be 50
characters or less.
- Throws: PropertyVetoException
- If a change is vetoed.
setEntryLength
public void setEntryLength(int entryLength) throws PropertyVetoException
- Sets the maximum entry length of the data queue.
- Parameters:
- entryLength - The maximum entry length. Valid
values are 1-31744.
- Throws: PropertyVetoException
- If a change is vetoed.
setFIFO
public void setFIFO(boolean fifo) throws PropertyVetoException
- Sets the order in which entries are read off of the data queue.
Set to true if entries are read off of the data queue in FIFO
order. Set to false if entries are read off of the data queue
in LIFO order.
- Parameters:
- fifo - Value indicating if entries are read in FIFO order.
- Throws: PropertyVetoException
- If a change is vetoed.
setForceToAuxiliaryStorage
public void setForceToAuxiliaryStorage(boolean forceToAux) throws PropertyVetoException
- Sets the force to auxilary storage value.
If set to true, entries are immediately written to permanent
storage. If set to false, written entries may be kept in memory
and could be lost in the case of a power outage.
- Parameters:
- forceToAux - The value indicating if entries are forced to auxiliary
storage.
- Throws: PropertyVetoException
- If a change is vetoed.
setKeyLength
public void setKeyLength(int keyLength) throws PropertyVetoException
- Set the number of bytes per data queue key.
- Parameters:
- keyLength - The number of bytes per data queue key. Valid
values are 1-256.
- Throws: PropertyVetoException
- If a change is vetoed.
setSaveSenderInfo
public void setSaveSenderInfo(boolean saveSenderInfo) throws PropertyVetoException
- Sets whether sender information is stored with each data
queue entry.
- Parameters:
- saveSenderInfo - Value indicating if sender information is saved.
- Throws: PropertyVetoException
- If a change is vetoed.
All Packages Class Hierarchy This Package Previous Next Index