Class Collection
- java.lang.Object
-
- de.digitalcollections.model.UniqueObject
-
- de.digitalcollections.model.identifiable.Identifiable
-
- de.digitalcollections.model.identifiable.entity.Entity
-
- de.digitalcollections.model.identifiable.entity.Collection
-
- All Implemented Interfaces:
INode<Collection>
public class Collection extends Entity implements INode<Collection>
A collection ofEntity
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Collection.CollectionBuilder<C extends Collection,B extends Collection.CollectionBuilder<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
-
-
Constructor Summary
Constructors Constructor Description Collection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntity(Entity entity)
boolean
equals(Object o)
List<Collection>
getChildren()
List<Entity>
getEntities()
Node<Collection>
getNode()
Collection
getParent()
LocalDate
getPublicationEnd()
LocalDate
getPublicationStart()
LocalizedStructuredContent
getText()
int
hashCode()
protected void
init()
Use to initialize member variables, used by default constructor and buildervoid
setChildren(List<Collection> children)
void
setEntities(List<Entity> entities)
void
setParent(Collection parent)
void
setPublicationEnd(LocalDate publicationEnd)
void
setPublicationStart(LocalDate publicationStart)
void
setText(LocalizedStructuredContent text)
String
toString()
-
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
getCustomAttribute, getCustomAttributes, getEntityType, getNavDate, getRefId, 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)
-
getChildren
public List<Collection> getChildren()
- Specified by:
getChildren
in interfaceINode<Collection>
-
getNode
public Node<Collection> getNode()
-
getParent
public Collection getParent()
- Specified by:
getParent
in interfaceINode<Collection>
-
getPublicationEnd
public LocalDate getPublicationEnd()
-
getPublicationStart
public LocalDate getPublicationStart()
-
getText
public LocalizedStructuredContent getText()
-
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<Collection> children)
- Specified by:
setChildren
in interfaceINode<Collection>
-
setParent
public void setParent(Collection parent)
- Specified by:
setParent
in interfaceINode<Collection>
-
setPublicationEnd
public void setPublicationEnd(LocalDate publicationEnd)
-
setPublicationStart
public void setPublicationStart(LocalDate publicationStart)
-
setText
public void setText(LocalizedStructuredContent text)
-
-