DetailActions.java :  » ERP-CRM-Financial » OpenXava-3.0 » org » openxava » annotations » Java Open Source

Java Open Source » ERP CRM Financial » OpenXava 3.0 
OpenXava 3.0 » org » openxava » annotations » DetailActions.java
package org.openxava.annotations;

import java.lang.annotation.*;

/**
 * A group of <code>@{@link DetailAction}</code> associated to the same collection. <p>
 * 
 * Applies to collections.<p>
 * 
 * It allows to define a value different for <code>@{@link DetailAction}</code> in each view.<br>
 * Example:
 * <pre>
 * &nbsp;@DetailActions({
 * &nbsp;&nbsp;&nbsp;@DetailAction(forViews="DEFAULT", value= ... ),
 * &nbsp;&nbsp;&nbsp;@DetailAction(forViews="Simple, VerySimple", value= ... ),
 * &nbsp;&nbsp;&nbsp;@DetailAction(forViews="Complete", value= ... )
 * &nbsp;})
 * </pre>
 *
 * @author Javier Paniza
 */

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD })
public @interface DetailActions {
  
  DetailAction [] value();
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.