Project

General

Profile

« Previous | Next » 

Revision 73b20217

Added by Andreas Müller almost 8 years ago

Add symbol and reverseSymbol do DefinedTermBase #5734

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/RelationshipTermBase.java
48 48
@XmlType(name = "RelationshipTermBase", propOrder = {
49 49
    "symmetric",
50 50
    "transitive",
51
    "inverseRepresentations"
51
    "inverseRepresentations",
52
    "reverseSymbol"
52 53
})
53 54
@XmlSeeAlso({
54 55
	HybridRelationshipType.class,
......
80 81
	@IndexedEmbedded(depth = 2)
81 82
	private Set<Representation> inverseRepresentations = new HashSet<Representation>();
82 83

  
84
    @XmlElement(name = "reverseSymbol")
85
    @Column(length=10)
86
    //the symbol to be used in String representations for the reverse representation of this term #5734
87
    //this term can be changed by the database instance even if the term is not managed by this instance as it is only for representation and has no semantic or identifying character
88
    //empty string is explicitly allowed and should be distinguished from NULL!
89
    private String reverseSymbol;
90

  
83 91
//******************** CONSTRUCTOR ************************/
84 92

  
85 93
    //for JAXB only, TODO needed?

Also available in: Unified diff