com.windowsazure.samples.blob.PageRangeCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpa4azure Show documentation
Show all versions of jpa4azure Show documentation
jpa4azure, implements a subset of the JPA specification using Azure Storage for pesisting beans. see http://jpa4azure.codeplex.com for more information.
The newest version!
package com.windowsazure.samples.blob;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.Vector;
import com.windowsazure.samples.EntityBase;
public class PageRangeCollection extends EntityBase implements Iterable {
public PageRangeCollection() {
this(null, null, null, null, null, null, new Vector());
}
public PageRangeCollection(
Date lastModified,
String etag,
Integer contentLength,
String requestId,
String version,
Date date,
Collection ranges) {
this.lastModified = lastModified;
this.etag = etag;
this.contentLength = contentLength;
this.requestId = requestId;
this.version = version;
this.date = date;
this.ranges = ranges;
}
public Integer getContentLength() {
return contentLength;
}
public Date getDate() {
return date;
}
public String getEtag() {
return etag;
}
public Date getLastModified() {
return lastModified;
}
public Collection getRanges() {
return ranges;
}
public String getRequestId() {
return requestId;
}
public String getVersion() {
return version;
}
@Override
public Iterator iterator() {
return ranges.iterator();
}
private Integer contentLength;
private Date date;
private String etag;
private Date lastModified;
private Collection ranges;
private String requestId;
private String version;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy