/******************************************************************************* * Copyright (c) 2012 OpenLegacy Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * OpenLegacy Inc. - initial API and implementation *******************************************************************************/ package org.openlegacy.annotations.screen; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Define identifiers for the marked screen entity class. Screen must be marked with {@link ScreenEntity} annotation as well.<br/> * <br/> * <br/> * Example:<br/> * <br/> * <code>@ScreenEntity<br/>@ScreenIdentifiers(identifiers = { @Identifier(row = 1, column = 36, value = "Expected text in position 1,36 on screen"),@Identifier(row = 2, column = 27, value = "Expected text in position 2,27 on screen") })<br/>public class ItemDetails{<br/>...<br/>} </code> * * @author Roi Mor * */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ScreenIdentifiers { Identifier[] identifiers() default {}; }