Project

General

Profile

Download (1.48 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2019 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.dataportal.elements;
10

    
11
import java.util.List;
12
import java.util.Objects;
13

    
14
import org.openqa.selenium.NoSuchElementException;
15
import org.openqa.selenium.WebElement;
16

    
17
public class RegistrationItemFull extends RegistrationItem{
18

    
19
    /**
20
     * @param containerElement
21
     */
22
    public RegistrationItemFull(WebElement containerElement) {
23
        super(containerElement);
24
        if(style != style.FULL){
25
            throw new NoSuchElementException("RegistrationItem has not the expected style, expected : FULL, but was " + Objects.toString(style, "NULL"));
26
        }
27
    }
28

    
29
    public WebElement getNameElement() {
30
        return nameElement;
31
    }
32

    
33
    public WebElement getTypifiedNameElement() {
34
        return typifiedNameElement;
35
    }
36

    
37
    public List<BaseElement> getSpecimenTypeDesignations() {
38
        return specimenTypeDesignations;
39
    }
40

    
41
    public List<BaseElement> getNameTypeDesignations() {
42
        return nameTypeDesignations;
43
    }
44

    
45
    public List<BaseElement> getNameRelationsipsElements() {
46
        return nameRelationsipsElements;
47
    }
48

    
49
    public List<BaseElement> getRegistrationFootnotes() {
50
        return registrationFootnotes;
51
    }
52

    
53
    public WebElement getCitation() {
54
        return citation;
55
    }
56
}
(14-14/20)