2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.common
;
12 import org
.apache
.log4j
.Logger
;
15 * An instance of this class represents an method result that contains 2 variables. The variables may be typified.
20 public class DoubleResult
<S
extends Object
, T
extends Object
> {
21 private static final Logger logger
= Logger
.getLogger(DoubleResult
.class);
23 private S firstResult
= null;
24 private T secondResult
= null;
26 public DoubleResult() {
31 public DoubleResult(S firstResult
, T secondResult
) {
33 this.firstResult
= firstResult
;
34 this.secondResult
= secondResult
;
38 * @return the firstResult
40 public S
getFirstResult() {
45 * @param firstResult the firstResult to set
47 public void setFirstResult(S firstResult
) {
48 this.firstResult
= firstResult
;
52 * @return the secondResult
54 public T
getSecondResult() {
59 * @param secondResult the secondResult to set
61 public void setSecondResult(T secondResult
) {
62 this.secondResult
= secondResult
;