Annotation Type ConvertGroup

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

javax.validation.groups
Annotation Type ConvertGroup

@Target(value={METHOD,FIELD,CONSTRUCTOR,PARAMETER,TYPE_USE})
 @Retention(value=RUNTIME)
 @Repeatable(value=ConvertGroup.List.class)
 @Documented
public @interface ConvertGroup

Converts group from to group to during cascading.

Can be used everywhere Valid is used and must be on an element annotated with Valid.

Since:
    1.1
Author:
    Emmanuel Bernard

    Required Element Summary
    Required Elements Modifier and Type 	Required Element and Description
    Class<?> 	to
    The target group of this conversion.
    Optional Element Summary
    Optional Elements Modifier and Type 	Optional Element and Description
    Class<?> 	from
    The source group of this conversion.

    Element Detail
        to

        public abstract Class<?> to

        The target group of this conversion.

        Returns:
            the target group of this conversion

        from

        public abstract Class<?> from

        The source group of this conversion.

        Returns:
            the source group of this conversion

        Default:
            javax.validation.groups.Default.class

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

发布了133 篇原创文章 · 获赞 191 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105718068