Class Collection
- java.lang.Object
-
- 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 ofEntitys.
-
-
Field Summary
-
Fields inherited from class de.digitalcollections.model.identifiable.entity.Entity
customAttributes, entityType, refId
-
Fields inherited from class de.digitalcollections.model.identifiable.Identifiable
created, description, identifiers, label, lastModified, previewImage, previewImageRenderingHints, type
-
-
Constructor Summary
Constructors Constructor Description Collection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntity(Entity entity)booleanequals(Object o)List<Collection>getChildren()List<Entity>getEntities()Node<Collection>getNode()CollectiongetParent()LocalDategetPublicationEnd()LocalDategetPublicationStart()LocalizedStructuredContentgetText()inthashCode()voidsetChildren(List<Collection> children)voidsetEntities(List<Entity> entities)voidsetParent(Collection parent)voidsetPublicationEnd(LocalDate publicationEnd)voidsetPublicationStart(LocalDate publicationStart)voidsetText(LocalizedStructuredContent text)StringtoString()-
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
getCustomAttribute, getCustomAttributes, getEntityType, getRefId, setCustomAttribute, setCustomAttributes, setEntityType, setRefId
-
Methods inherited from class de.digitalcollections.model.identifiable.Identifiable
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuid
-
-
-
-
Method Detail
-
addEntity
public void addEntity(Entity entity)
-
getChildren
public List<Collection> getChildren()
- Specified by:
getChildrenin interfaceINode<Collection>
-
getNode
public Node<Collection> getNode()
-
getParent
public Collection getParent()
- Specified by:
getParentin interfaceINode<Collection>
-
getPublicationEnd
public LocalDate getPublicationEnd()
-
getPublicationStart
public LocalDate getPublicationStart()
-
getText
public LocalizedStructuredContent getText()
-
setChildren
public void setChildren(List<Collection> children)
- Specified by:
setChildrenin interfaceINode<Collection>
-
setParent
public void setParent(Collection parent)
- Specified by:
setParentin interfaceINode<Collection>
-
setPublicationEnd
public void setPublicationEnd(LocalDate publicationEnd)
-
setPublicationStart
public void setPublicationStart(LocalDate publicationStart)
-
setText
public void setText(LocalizedStructuredContent text)
-
-