Project

General

Profile

« Previous | Next » 

Revision 787a37f1

Added by Patrick Plitzner over 5 years ago

code cleanup

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/SpecimenColumnPropertyAccessor.java
16 16
import eu.etaxonomy.cdm.model.description.Feature;
17 17

  
18 18
/**
19
 * Property accesor class which maps setting and getting data for
19
 * Property accessor class which maps setting and getting data for
20 20
 * each row in the character matrix
21 21
 * @author pplitzner
22 22
 * @since Nov 26, 2017
......
30 30
        this.matrix = matrix;
31 31
    }
32 32

  
33

  
34
    /**
35
     * {@inheritDoc}
36
     */
37 33
    @Override
38 34
    public Object getDataValue(Object rowObject, int columnIndex) {
39 35
        if(rowObject instanceof SpecimenRowWrapperDTO){
......
73 69
        return null;
74 70
    }
75 71

  
76
    /**
77
     * {@inheritDoc}
78
     */
79 72
    @Override
80 73
    public void setDataValue(Object rowObject, int columnIndex, Object newValue) {
81 74
        if(rowObject instanceof RowWrapperDTO){
......
85 78
        }
86 79
    }
87 80

  
88
    /**
89
     * {@inheritDoc}
90
     */
91 81
    @Override
92 82
    public int getColumnCount() {
93 83
        return matrix.getPropertyToLabelMap().size();
94 84
    }
95 85

  
96
    /**
97
     * {@inheritDoc}
98
     */
99 86
    @Override
100 87
    public String getColumnProperty(int columnIndex) {
101 88
        return matrix.getPropertyToLabelMap().get(columnIndex);
102 89
    }
103 90

  
104
    /**
105
     * {@inheritDoc}
106
     */
107 91
    @Override
108 92
    public int getColumnIndex(String propertyName){
109 93
        return matrix.getPropertyToLabelMap().indexOf(propertyName);

Also available in: Unified diff