All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.windowsazure.samples.table.AzureTableCollection Maven / Gradle / Ivy

Go to download

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.table;

import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.Vector;

import com.windowsazure.samples.EntityBase;

public final class AzureTableCollection extends EntityBase implements Iterable {

	public AzureTableCollection() {
		this(
		    null, null, null, null,
		    null, null, null, new Vector());
	}
	
	public AzureTableCollection(
			String continuation, String requestId, String version, Date date,
			String id, String title, Date updated, Collection tables) {
		
		this.continuation = continuation;
		this.requestId = requestId;
		this.version = version;
		this.date = date;
		
		this.id = id;
		this.title = title;
		this.updated = updated;
		this.tables = tables;
	}
	
	public String getContinuation() {
		return continuation;
	}
	
	public Date getDate() {
		return date;
	}
	
	public String getId() {
		return id;
	}
	
	public String getRequestId() {
		return requestId;
	}
	
	public Collection getTables() {
		return tables;
	}
	
	public String getTitle() {
		return title;
	}
	
	public Date getUpdated() {
		return updated;
	}
	
	public String getVersion() {
		return version;
	}
	
	@Override
	public Iterator iterator() {
		return tables.iterator();
	}
	
	private String continuation;
	private Date date;
	private String id;
	private String requestId;
	private Collection tables;
	private String title;
	private Date updated;
	private String version;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy