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

com.github.bordertech.restfriends.envelope.DataEnvelope Maven / Gradle / Ivy

There is a newer version: 2.0.0-beta-1
Show newest version
package com.github.bordertech.restfriends.envelope;

import java.io.Serializable;

/**
 * Response envelope that holds data object.
 *
 * @param  the data type
 */
public interface DataEnvelope extends Envelope {

	/**
	 * @return the response data
	 */
	T getData();

	/**
	 * @param data the response data
	 */
	void setData(T data);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy