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

org.igniterealtime.restclient.entity.RosterEntities Maven / Gradle / Ivy

Go to download

Java REST API Client for the Openfire to manage Openfire instances by sending an REST/HTTP request to the server

There is a newer version: 1.1.5
Show newest version
package org.igniterealtime.restclient.entity;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * The Class RosterEntities.
 */
@XmlRootElement(name = "roster")
public class RosterEntities {

	/** The roster. */
	List roster;

	/**
	 * Instantiates a new roster entities.
	 */
	public RosterEntities() {

	}

	/**
	 * Instantiates a new roster entities.
	 *
	 * @param roster
	 *            the roster
	 */
	public RosterEntities(List roster) {
		this.roster = roster;
	}

	/**
	 * Gets the roster.
	 *
	 * @return the roster
	 */
	@XmlElement(name = "rosterItem")
	public List getRoster() {
		return roster;
	}

	/**
	 * Sets the roster.
	 *
	 * @param roster
	 *            the new roster
	 */
	public void setRoster(List roster) {
		this.roster = roster;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy