Class Headword
java.lang.Object
de.digitalcollections.model.UniqueObject
de.digitalcollections.model.semantic.Headword
See https://en.wikipedia.org/wiki/Headword and
https://de.wikipedia.org/wiki/Stichwort_(Dokumentation)
"A headword, head word, (lemma), or sometimes catchword, is the word under which a set of related dictionary or encyclopaedia entries appears. The headword is used to locate the entry, and dictates its alphabetical position."
(for difference to "lemma" see http://www.differencebetween.net/language/difference-between-headword-and-lemma/)
As it is often interchangeable, we decided for practial reasons to use this class "Headword" also for a lemma.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.digitalcollections.model.UniqueObject
UniqueObject.UniqueObjectBuilder<C extends UniqueObject,
B extends UniqueObject.UniqueObjectBuilder<C, B>> -
Field Summary
Fields inherited from class de.digitalcollections.model.UniqueObject
created, lastModified, uuid
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
void
void
setLabelNormalized
(String labelNormalized) to allow project specific/language independent sorting/searching a normalized version of label should be put here. e.g. project specific replacing of characters with diacritics with basic form, like "É" normalized to "E" or "Č" to "C".void
Methods inherited from class de.digitalcollections.model.UniqueObject
equals, getCreated, getLastModified, getUuid, hashCode, init, isPersisted, setCreated, setLastModified, setUuid
-
Constructor Details
-
Headword
public Headword() -
Headword
-
Headword
-
-
Method Details
-
getLabel
-
getLabelNormalized
-
getLocale
-
setLabel
-
setLabelNormalized
to allow project specific/language independent sorting/searching a normalized version of label should be put here. e.g. project specific replacing of characters with diacritics with basic form, like "É" normalized to "E" or "Č" to "C". -
setLocale
-