org.roscopeco.janno.util
Annotation Type Param


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface Param

Represents a constraint on an individual parameter in a StrictParams action. One or more of these are passed into that annotation to specify the parameter constraints.

Names are case-sensitive, and refer to the name of the bean property corresponding to the parameter. A parameter with the name * is treated as a special case, referring to any parameters not matched. This entry is expected to have either the ALLOWED or DISALLOWED policy. If it is found to have the REQUIRED policy this will be silently treated as ALLOWED. If no such entry exists then the default is to disallow parameters without a matching Param.

Version:
$Revision: 1.1 $ $Date: 2005/07/03 01:26:31 $
Author:
Ross Bamford (rosco<at>roscopeco.co.uk)

Required Element Summary
 String name
           
 ParamPolicy policy
           
 

Element Detail

name

public abstract String name

policy

public abstract ParamPolicy policy


Copyright © 2005 Roscopeco Open Technologies. All Rights Reserved.