com.windowsazure.samples.queue.AzureQueueMessageCollection Maven / Gradle / Ivy
package com.windowsazure.samples.queue;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.Vector;
import com.windowsazure.samples.EntityBase;
public final class AzureQueueMessageCollection extends EntityBase implements Iterable {
public AzureQueueMessageCollection() {
this(null, null, null, new Vector());
}
public AzureQueueMessageCollection(String requestId, String version, Date date, Collection messages) {
this.messages = messages;
}
public Date getDate() {
return date;
}
public Collection getMessages() {
return messages;
}
public String getRequestId() {
return requestId;
}
public String getVersion() {
return version;
}
@Override
public Iterator iterator() {
return messages.iterator();
}
private Date date;
private Collection messages;
private String requestId;
private String version;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy