uk.co.jemos.podam.annotations
Annotation Type PodamStringValue


@Documented
@Target(value={FIELD,PARAMETER})
@Retention(value=RUNTIME)
public @interface PodamStringValue

Annotation used to customise string type attributes or constructor parameter.

The strValue attribute takes precedence over length. If the former was specified the latter will be ignored.

Author:
mtedone

Optional Element Summary
 String comment
          It allows clients to specify a comment on this annotation
 int length
          The length of the String for the annotated attribute.
 String strValue
          If specified, it allows clients to specify an exact value for the string
 

length

public abstract int length
The length of the String for the annotated attribute. It defaults to PodamConstants.STR_DEFAULT_LENGTH

Default:
10

strValue

public abstract String strValue
If specified, it allows clients to specify an exact value for the string

Default:
""

comment

public abstract String comment
It allows clients to specify a comment on this annotation

Default:
""

Jemos 2002 - 2011: All Rights Reserved. Podam runs under the MIT license

Copyright © 2013. All Rights Reserved.