Revision a784f00f
Added by Katja Luther about 14 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/NameRelationship.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
import eu.etaxonomy.cdm.model.common.RelationshipBase; |
29 | 29 |
import eu.etaxonomy.cdm.model.reference.ReferenceBase; |
30 |
import eu.etaxonomy.cdm.validation.Level3; |
|
31 |
import eu.etaxonomy.cdm.validation.annotation.NamesWithHomotypicRelationshipsMustBelongToSameGroup; |
|
30 | 32 |
|
31 | 33 |
/** |
32 | 34 |
* The class representing a relationship between two {@link TaxonNameBase taxon names} according |
... | ... | |
53 | 55 |
}) |
54 | 56 |
@Entity |
55 | 57 |
@Audited |
58 |
@NamesWithHomotypicRelationshipsMustBelongToSameGroup(groups = {Level3.class}) |
|
56 | 59 |
public class NameRelationship extends RelationshipBase<TaxonNameBase, TaxonNameBase, NameRelationshipType> { |
57 | 60 |
|
58 | 61 |
static Logger logger = Logger.getLogger(NameRelationship.class); |
Also available in: Unified diff
merge cate-development2 branch with trunk