Class Topic
- java.lang.Object
-
- de.digitalcollections.model.UniqueObject
-
- de.digitalcollections.model.identifiable.Identifiable
-
- de.digitalcollections.model.identifiable.entity.Entity
-
- de.digitalcollections.model.identifiable.entity.Topic
-
public class Topic extends Entity implements INode<Topic>
https://www.merriam-webster.com/dictionary/topic: "the subject of something that is being discussed or has been written or thought about" https://www.linguee.com/english-german/translation/topic.html german: "Thema, Inhalt, Gegenstand, Gesprächsthema" or "Thematik, Themengebiet, Themenbereich"Subtopic: https://www.merriam-webster.com/dictionary/subtopic: "a (subtopic is a) topic that is part of a broader or more general topic ..." "a (subtopic is a) topic that is one of the parts or divisions of the main topic ..." "a (subtopic is a) topic (as in a composition) that is a division of a main topic" https://www.linguee.com/english-german/translation/subtopic.html german: "Unterthema"
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopic.TopicBuilder<C extends Topic,B extends Topic.TopicBuilder<C,B>>-
Nested classes/interfaces inherited from class de.digitalcollections.model.identifiable.entity.Entity
Entity.EntityBuilder<C extends Entity,B extends Entity.EntityBuilder<C,B>>
-
Nested classes/interfaces inherited from class de.digitalcollections.model.identifiable.Identifiable
Identifiable.IdentifiableBuilder<C extends Identifiable,B extends Identifiable.IdentifiableBuilder<C,B>>
-
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.identifiable.entity.Entity
customAttributes, navDate, notes, refId
-
Fields inherited from class de.digitalcollections.model.identifiable.Identifiable
description, identifiableObjectType, identifiers, label, localizedUrlAliases, previewImage, previewImageRenderingHints, type
-
Fields inherited from class de.digitalcollections.model.UniqueObject
created, lastModified, uuid
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(Topic child)voidaddEntity(Entity entity)voidaddFileResource(FileResource fileResource)List<Topic>getChildren()List<Entity>getEntities()List<FileResource>getFileResources()TopicgetParent()protected voidinit()Use to initialize member variables, used by default constructor and buildervoidsetChildren(List<Topic> children)voidsetEntities(List<Entity> entities)voidsetFileResources(List<FileResource> fileResources)voidsetParent(Topic parent)-
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
addNotes, equals, getCustomAttribute, getCustomAttributes, getEntityType, getNavDate, getNotes, getRefId, hashCode, setCustomAttribute, setCustomAttributes, setNavDate, setNotes, setRefId
-
Methods inherited from class de.digitalcollections.model.identifiable.Identifiable
addIdentifier, getDescription, getIdentifiableObjectType, getIdentifierByNamespace, getIdentifiers, getLabel, getLocalizedUrlAliases, getPreviewImage, getPreviewImageRenderingHints, getPrimaryUrlAlias, getType, removeIdentifier, setDescription, setIdentifiableObjectType, setIdentifiers, setLabel, setLabel, setLocalizedUrlAliases, setPreviewImage, setPreviewImageRenderingHints, setType
-
Methods inherited from class de.digitalcollections.model.UniqueObject
getCreated, getLastModified, getUuid, setCreated, setLastModified, setUuid
-
-
-
-
Method Detail
-
addEntity
public void addEntity(Entity entity)
-
addFileResource
public void addFileResource(FileResource fileResource)
-
getChildren
public List<Topic> getChildren()
- Specified by:
getChildrenin interfaceINode<Topic>
-
getFileResources
public List<FileResource> getFileResources()
-
init
protected void init()
Description copied from class:UniqueObjectUse to initialize member variables, used by default constructor and builder
-
setChildren
public void setChildren(List<Topic> children)
- Specified by:
setChildrenin interfaceINode<Topic>
-
setFileResources
public void setFileResources(List<FileResource> fileResources)
-
-