org.gecko.emf.jaxrs.annotations.ResourceOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.gecko.emf.jaxrs Show documentation
Show all versions of org.gecko.emf.jaxrs Show documentation
Extension to load and save EMF EObjects using a MessageBodyReader or -Writer
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;
}