001/*
002 * Copyright (c) 2006-2013 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *      Vladimir Pasquier <vpasquier@nuxeo.com>
011 */
012package org.nuxeo.ecm.automation.client.annotations;
013
014import java.lang.annotation.ElementType;
015import java.lang.annotation.Retention;
016import java.lang.annotation.RetentionPolicy;
017import java.lang.annotation.Target;
018
019/**
020 * @since 5.7 This annotation, on pojo bean class injected by automation client operation, lets Nuxeo mapping this
021 *        object to a Nuxeo document model adapter
022 */
023@Retention(RetentionPolicy.RUNTIME)
024@Target(ElementType.TYPE)
025public @interface EntityType {
026
027    /**
028     * The Nuxeo document model adapter simple name server side
029     */
030    String value();
031}