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

org.gecko.emf.jaxrs.annotations.ResourceOption Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) 2012 - 2022 Data In Motion and others.
 * All rights reserved. 
 * 
 * This program and the accompanying materials are made available under the terms of the 
 * Eclipse Public License v2.0 which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v20.html
 * 
 * Contributors:
 *     Data In Motion - initial API and implementation
 */
package org.gecko.emf.jaxrs.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Juergen Albert
 * @since 07.02.2013
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ResourceOption {

	/**
	 * The key for the Option
	 */
	String key();
	
	/**
	 * The value for the for the option to set
	 */
	String value();
	
	/**
	 * @return the type of the value.
	 */
	Class valueType() default String.class;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy