com.windowsazure.messaging.CollectionResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of NotificationHubs Show documentation
Show all versions of NotificationHubs Show documentation
This package contains the JAVA SDK for Azure Notification Hubs.
The newest version!
package com.windowsazure.messaging;
import java.util.LinkedList;
import java.util.List;
/**
* Class representing the result of a query returning a set of registrations.
*
*/
public class CollectionResult {
private String continuationToken;
private List registrations = new LinkedList();
public CollectionResult() {
// TODO Auto-generated constructor stub
}
public void addRegistration(Registration registration) {
registrations.add(registration);
}
public List getRegistrations() {
return registrations;
}
/**
* Gets the continuation token for this result. If the continuation is null,
* then there are no more registration in this result set.
*
* @return continuation token
*/
public String getContinuationToken() {
return continuationToken;
}
public void setContinuationToken(String continuationToken) {
this.continuationToken = continuationToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy