Class Identifiable
- java.lang.Object
-
- de.digitalcollections.model.identifiable.Identifiable
-
- Direct Known Subclasses:
Entity,FamilyName,FileResource,GivenName,Node,Webpage
public class Identifiable extends Object
An Identifiable is an uniquely identifiablede.digitalcollections.model.api.identifiable.entity.Entityorde.digitalcollections.model.api.identifiable.resource.FileResource, having one or more uniqueIdentifier(s).
- FileResources have one (or more) technical (system wide) Identifiers (e.g. an UUID)
- Entities additionally have one (or more) “domain-specific” (system independent) Identifiers (e.g. GND-ID, VIAF-ID)
-
-
Field Summary
Fields Modifier and Type Field Description protected LocalDateTimecreatedprotected LocalizedStructuredContentdescriptionprotected Set<Identifier>identifiersprotected LocalizedTextlabelprotected LocalDateTimelastModifiedprotected ImageFileResourcepreviewImageprotected RenderingHintsPreviewImagepreviewImageRenderingHintsprotected IdentifiableTypetype
-
Constructor Summary
Constructors Constructor Description Identifiable()
-
Method Summary
-
-
-
Field Detail
-
created
protected LocalDateTime created
-
description
protected LocalizedStructuredContent description
-
identifiers
protected Set<Identifier> identifiers
-
label
protected LocalizedText label
-
lastModified
protected LocalDateTime lastModified
-
previewImage
protected ImageFileResource previewImage
-
previewImageRenderingHints
protected RenderingHintsPreviewImage previewImageRenderingHints
-
type
protected IdentifiableType type
-
-
Method Detail
-
addIdentifier
public void addIdentifier(Identifier identifier)
-
getCreated
public LocalDateTime getCreated()
-
getDescription
public LocalizedStructuredContent getDescription()
-
getIdentifierByNamespace
public Identifier getIdentifierByNamespace(String namespace)
-
getIdentifiers
public Set<Identifier> getIdentifiers()
-
getLabel
public LocalizedText getLabel()
-
getLastModified
public LocalDateTime getLastModified()
-
getPreviewImage
public ImageFileResource getPreviewImage()
-
getPreviewImageRenderingHints
public RenderingHintsPreviewImage getPreviewImageRenderingHints()
-
getType
public IdentifiableType getType()
-
getUuid
public UUID getUuid()
-
setCreated
public void setCreated(LocalDateTime created)
-
setDescription
public void setDescription(LocalizedStructuredContent description)
-
setIdentifiers
public void setIdentifiers(Set<Identifier> identifiers)
-
setLabel
public void setLabel(String label)
-
setLabel
public void setLabel(LocalizedText label)
-
setLastModified
public void setLastModified(LocalDateTime lastModified)
-
setPreviewImage
public void setPreviewImage(ImageFileResource previewImage)
-
setPreviewImageRenderingHints
public void setPreviewImageRenderingHints(RenderingHintsPreviewImage previewImageRenderingHints)
-
setType
public void setType(IdentifiableType identifiableType)
-
setUuid
public void setUuid(UUID uuid)
-
-