org.slim3.struts.annotation
Annotation Type ByteType


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
@Validator(value="byte")
public @interface ByteType

An annotation to validate if the value is a byte.

Since:
3.0
Author:
higa

Optional Element Summary
 Arg arg0
          The first argument.
 Msg msg
          The message.
 String[] targets
          Specifies the target execute method names which are validation targets.
 

msg

public abstract Msg msg
The message.

Default:
@org.slim3.struts.annotation.Msg(key="errors.byte")

arg0

public abstract Arg arg0
The first argument.

Default:
@org.slim3.struts.annotation.Arg(key="")

targets

public abstract String[] targets
Specifies the target execute method names which are validation targets.

Default:
{}


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.