jenkins merging release branch into master (strategy: theirs)
[cdm-vaadin.git] / src / main / java / eu / etaxonomy / vaadin / component / NestedFieldGroup.java
1 /**
2 * Copyright (C) 2017 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9 package eu.etaxonomy.vaadin.component;
10
11 import java.util.Optional;
12
13 import com.vaadin.data.fieldgroup.FieldGroup;
14
15 /**
16 * @author a.kohlbecker
17 * @since May 12, 2017
18 */
19 public interface NestedFieldGroup {
20
21 /**
22 * Implementations return the local fieldGroup
23 *
24 * @return the FieldGroup, may be <code>null</code>.
25 */
26 public abstract Optional<FieldGroup> getFieldGroup();
27
28 public abstract void registerParentFieldGroup(FieldGroup parent);
29
30 public abstract void unregisterParentFieldGroup(FieldGroup parent);
31
32 }