2 * Copyright (C) 2012 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
.api
.service
.util
;
14 import eu
.etaxonomy
.cdm
.model
.common
.RelationshipBase
.Direction
;
15 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonRelationshipType
;
19 * Holds a ({@link TaxonRelationshipType})
20 * and gives it a direction which is one of:
22 * <li>direct, everted: {@link Direction.relatedTo}</li>
23 * <li>inverse: {@link Direction.relatedFrom}</li>
24 * <li>bidirectional: {@link Direction.relatedTo} and {@link Direction.relatedFrom}</li>
27 * @author a.kohlbecker
31 public class TaxonRelationshipEdge
extends AbstractRelationshipEdge
<TaxonRelationshipType
> {
33 public TaxonRelationshipEdge(Set
<TaxonRelationshipType
> taxonRelationshipTypes
, Direction
... direction
) {
34 super(taxonRelationshipTypes
, direction
);
37 public TaxonRelationshipEdge(TaxonRelationshipType taxonRelationshipType
, Direction
... direction
) {
38 super(taxonRelationshipType
, direction
);