001// 002// Copyright 2012 Cloud Software Group, Inc. ALL RIGHTS RESERVED. 003// Cloud Software Group, Inc. Confidential Information 004// 005// $Revision: 1.2 $ $Date: 2013/02/19 22:44:37 $ 006// 007package com.tibco.xp.studio.annotation; 008 009import java.lang.annotation.Documented; 010import java.lang.annotation.ElementType; 011import java.lang.annotation.Retention; 012import java.lang.annotation.RetentionPolicy; 013import java.lang.annotation.Target; 014 015/** 016 * Define the Catalog for a project 017 * <p> 018 * This annotation can only be specified in a 019 * package-info.java file. This annotation 020 * can only be specified once in a project. 021 */ 022@Documented 023@Retention(RetentionPolicy.CLASS) 024@Target(ElementType.PACKAGE) 025public @interface Catalog 026{ 027 /** 028 * Specify the catalog name 029 * <p> 030 * The default catalog is the project name 031 * if this annotation is not specified. 032 * @return Catalog name 033 */ 034 String name(); 035}