Revision d825b848
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/DescriptionElementBase.java | ||
---|---|---|
96 | 96 |
@Entity |
97 | 97 |
@Audited |
98 | 98 |
@Inheritance(strategy=InheritanceType.SINGLE_TABLE) |
99 |
public abstract class DescriptionElementBase extends AnnotatableEntity implements ISourceable<DescriptionElementSource>, IModifiable, IMultiLanguageTextHolder{ |
|
99 |
public abstract class DescriptionElementBase extends AnnotatableEntity |
|
100 |
implements ISourceable<DescriptionElementSource>, IModifiable, IMultiLanguageTextHolder{ |
|
100 | 101 |
private static final long serialVersionUID = 5000910777835755905L; |
101 | 102 |
@SuppressWarnings("unused") |
102 | 103 |
private static final Logger logger = Logger.getLogger(DescriptionElementBase.class); |
... | ... | |
392 | 393 |
return this.modifyingText.remove(language); |
393 | 394 |
} |
394 | 395 |
|
395 |
/* (non-Javadoc) |
|
396 |
* @see eu.etaxonomy.cdm.model.common.ISourceable#getSources() |
|
397 |
*/ |
|
398 | 396 |
@Override |
399 | 397 |
public Set<DescriptionElementSource> getSources() { |
400 | 398 |
return this.sources; |
... | ... | |
500 | 498 |
} |
501 | 499 |
|
502 | 500 |
|
501 |
/** |
|
502 |
* Is this description item of a class type which is considere to |
|
503 |
* represent character data? These classes are {@link QuantitativeData} |
|
504 |
* and {@link CategoricalData}. |
|
505 |
* To be overriden by these classes. |
|
506 |
*/ |
|
507 |
@Transient |
|
508 |
@XmlTransient |
|
509 |
public boolean isCharacterData() { |
|
510 |
return false; |
|
511 |
} |
|
512 |
|
|
513 |
|
|
503 | 514 |
|
504 | 515 |
//************************** CLONE **********************************************************/ |
505 | 516 |
|
... | ... | |
555 | 566 |
return result; |
556 | 567 |
} |
557 | 568 |
|
558 |
/** |
|
559 |
* Is this description item of a class type which is considere to |
|
560 |
* represent character data? These classes are {@link QuantitativeData} |
|
561 |
* and {@link CategoricalData}. |
|
562 |
* To be overriden by these classes. |
|
563 |
*/ |
|
564 |
@Transient |
|
565 |
@XmlTransient |
|
566 |
public boolean isCharacterData() { |
|
567 |
return false; |
|
568 |
} |
|
569 |
|
|
570 |
|
|
571 | 569 |
} |
Also available in: Unified diff
cleanup