public class Queue
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a queue.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the queue.
|
private java.lang.String |
uRL
The URL of the queue.
|
Constructor and Description |
---|
Queue() |
Modifier and Type | Method and Description |
---|---|
Queue |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the queue.
|
java.lang.String |
getURL()
The URL of the queue.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the queue.
|
void |
setURL(java.lang.String uRL)
The URL of the queue.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Queue |
withName(java.lang.String name)
The name of the queue.
|
Queue |
withURL(java.lang.String uRL)
The URL of the queue.
|
private java.lang.String name
The name of the queue.
private java.lang.String uRL
The URL of the queue.
public void setName(java.lang.String name)
The name of the queue.
name
- The name of the queue.public java.lang.String getName()
The name of the queue.
public Queue withName(java.lang.String name)
The name of the queue.
name
- The name of the queue.public void setURL(java.lang.String uRL)
The URL of the queue.
uRL
- The URL of the queue.public java.lang.String getURL()
The URL of the queue.
public Queue withURL(java.lang.String uRL)
The URL of the queue.
uRL
- The URL of the queue.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Queue clone()
clone
in class java.lang.Object