public class ExampleMethodService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ExampleMethodService.Person |
Constructor and Description |
---|
ExampleMethodService() |
ExampleMethodService(@NotNull @NotEmpty String s1,
@NotNull String s2) |
Modifier and Type | Method and Description |
---|---|
@NotNull @NotEmpty String |
concat(@NotNull @NotEmpty String s1,
@NotNull String s2) |
@NotNull @Size(min=3,max=10) String |
echo(@NotNull @Size(min=3,max=10) String str) |
void |
personOp1(@Valid ExampleMethodService.Person p) |
void |
personOp2(@NotNull @Valid ExampleMethodService.Person p) |
void |
save(@Pattern(regexp="[a-f0-9]{4}") String data) |
@NotNull @NotEmpty public @NotNull @NotEmpty String concat(@NotNull @NotEmpty @NotNull @NotEmpty String s1, @NotNull @NotNull String s2)
public void save(@Pattern(regexp="[a-f0-9]{4}") @Pattern(regexp="[a-f0-9]{4}") String data)
@NotNull @Size(min=3, max=10) public @NotNull @Size(min=3,max=10) String echo(@NotNull @Size(min=3,max=10) @NotNull @Size(min=3,max=10) String str)
public void personOp1(@Valid @Valid ExampleMethodService.Person p)
public void personOp2(@NotNull @Valid @NotNull @Valid ExampleMethodService.Person p)
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.