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

li.strolch.service.JsonServiceArgument Maven / Gradle / Ivy

package li.strolch.service;

import com.google.gson.JsonElement;

import li.strolch.service.api.AbstractService;
import li.strolch.service.api.ServiceArgument;

/**
 * A {@link ServiceArgument} which takes a {@link JsonElement} as the input for a {@link AbstractService}. This is often
 * used in conjunction with REST APIs
 * 
 * @author Robert von Burg 
 */
public class JsonServiceArgument extends ServiceArgument {
	private static final long serialVersionUID = 1L;
	
	/**
	 * the objectId - its context is defined by the service 
	 */
	public String objectId;
	
	/**
	 * The input object
	 */
	public JsonElement jsonElement;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy