Class Node<N extends Identifiable>
- java.lang.Object
-
- de.digitalcollections.model.UniqueObject
-
- de.digitalcollections.model.identifiable.Identifiable
-
- de.digitalcollections.model.identifiable.Node<N>
-
- Type Parameters:
N
- a node
- All Implemented Interfaces:
INode<N>
public class Node<N extends Identifiable> extends Identifiable implements INode<N>
Node is used to structure cultural content hierarchically.
-
-
Nested Class Summary
-
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.Identifiable
description, identifiableObjectType, identifiers, label, localizedUrlAliases, previewImage, previewImageRenderingHints, type
-
Fields inherited from class de.digitalcollections.model.UniqueObject
created, lastModified, uuid
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<N>
getChildren()
N
getParent()
void
setChildren(List<N> children)
void
setParent(N parent)
-
Methods inherited from class de.digitalcollections.model.identifiable.Identifiable
addIdentifier, equals, getDescription, getIdentifiableObjectType, getIdentifierByNamespace, getIdentifiers, getLabel, getLocalizedUrlAliases, getPreviewImage, getPreviewImageRenderingHints, getPrimaryUrlAlias, getType, hashCode, init, 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
-
getChildren
public List<N> getChildren()
- Specified by:
getChildren
in interfaceINode<N extends Identifiable>
-
getParent
public N getParent()
- Specified by:
getParent
in interfaceINode<N extends Identifiable>
-
setChildren
public void setChildren(List<N> children)
- Specified by:
setChildren
in interfaceINode<N extends Identifiable>
-
setParent
public void setParent(N parent)
- Specified by:
setParent
in interfaceINode<N extends Identifiable>
-
-