public class Queue extends Object implements Serializable
Describes a queue.
Constructor and Description |
---|
Queue() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
The name of the queue.
|
String |
getURL()
The URL of the queue.
|
int |
hashCode() |
void |
setName(String name)
The name of the queue.
|
void |
setURL(String uRL)
The URL of the queue.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Queue |
withName(String name)
The name of the queue.
|
Queue |
withURL(String uRL)
The URL of the queue.
|
public String getName()
public void setName(String name)
name
- The name of the queue.public Queue withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the queue.public String getURL()
public void setURL(String uRL)
uRL
- The URL of the queue.public Queue withURL(String uRL)
Returns a reference to this object so that method calls can be chained together.
uRL
- The URL of the queue.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.