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 class
Topic.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, 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 void
addChild(Topic child)
void
addEntity(Entity entity)
void
addFileResource(FileResource fileResource)
List<Topic>
getChildren()
List<Entity>
getEntities()
List<FileResource>
getFileResources()
Topic
getParent()
protected void
init()
Use to initialize member variables, used by default constructor and buildervoid
setChildren(List<Topic> children)
void
setEntities(List<Entity> entities)
void
setFileResources(List<FileResource> fileResources)
void
setParent(Topic parent)
-
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
equals, getCustomAttribute, getCustomAttributes, getEntityType, getNavDate, getRefId, hashCode, setCustomAttribute, setCustomAttributes, setNavDate, setRefId
-
Methods inherited from class de.digitalcollections.model.identifiable.Identifiable
addIdentifier, getDescription, getIdentifiableObjectType, getIdentifierByNamespace, getIdentifiers, getLabel, getLocalizedUrlAliases, getPreviewImage, getPreviewImageRenderingHints, getPrimaryUrlAlias, getType, 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:
getChildren
in interfaceINode<Topic>
-
getFileResources
public List<FileResource> getFileResources()
-
init
protected void init()
Description copied from class:UniqueObject
Use to initialize member variables, used by default constructor and builder
-
setChildren
public void setChildren(List<Topic> children)
- Specified by:
setChildren
in interfaceINode<Topic>
-
setFileResources
public void setFileResources(List<FileResource> fileResources)
-
-