public class Parent extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Parent.ChildFirst |
static interface |
Parent.ParentSecond |
static interface |
Parent.ProperOrder |
| Constructor and Description |
|---|
Parent() |
| Modifier and Type | Method and Description |
|---|---|
@Valid Child |
getChild() |
@NotNull(groups=Parent.ParentSecond.class) String |
getName() |
void |
setChild(Child child) |
void |
setName(String name) |
@NotNull(groups=Parent.ParentSecond.class) public @NotNull(groups=Parent.ParentSecond.class) String getName()
public void setName(String name)
@Valid public @Valid Child getChild()
public void setChild(Child child)
Copyright © 2008–2017. All rights reserved.