pt.digitalis.dif.dem.annotations.parameter
Annotation Type Rule


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface Rule

Rule association for a given parameter.

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
Mar 31, 2009

Required Element Summary
 String parameters
          The parameter list.
 String ruleId
          The ID of the corresponding rule.
 
Optional Element Summary
 ParameterRuleAction action
          the action to perform upon not validating
 String first
          The first value of the interval to validate
 String last
          The last value of the interval to validate
 String value
          The value to compare
 

Element Detail

ruleId

public abstract String ruleId
The ID of the corresponding rule. Any contributed parameter rule id.


parameters

public abstract String parameters
The parameter list. Comma separated if more than one

value

public abstract String value
The value to compare

Default:
"CGID:Parameter ommited"

first

public abstract String first
The first value of the interval to validate

Default:
"CGID:Parameter ommited"

last

public abstract String last
The last value of the interval to validate

Default:
"CGID:Parameter ommited"

action

public abstract ParameterRuleAction action
the action to perform upon not validating

Default:
pt.digitalis.dif.dem.objects.parameters.rules.ParameterRuleAction.HIDE


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.