Class Project
- java.lang.Object
-
- de.digitalcollections.model.identifiable.Identifiable
-
- de.digitalcollections.model.identifiable.entity.Entity
-
- de.digitalcollections.model.identifiable.entity.Project
-
public class Project extends Entity
Project is used to describe a project (like a digitization project or an electronic publishing project). See also https://schema.org/Project (Thing - Organization - Project)
-
-
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 Project()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDategetEndDate()LocalDategetStartDate()LocalizedStructuredContentgetText()voidsetEndDate(LocalDate endDate)voidsetStartDate(LocalDate startDate)voidsetText(LocalizedStructuredContent text)-
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
equals, getCustomAttribute, getCustomAttributes, getEntityType, getRefId, hashCode, 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
-
getEndDate
public LocalDate getEndDate()
- Returns:
- date when project ended (null if still running)
-
getStartDate
public LocalDate getStartDate()
- Returns:
- date when project was started
-
getText
public LocalizedStructuredContent getText()
- Returns:
- localized formatted text describing project
-
setEndDate
public void setEndDate(LocalDate endDate)
- Parameters:
endDate- set date when project ended
-
setStartDate
public void setStartDate(LocalDate startDate)
- Parameters:
startDate- set date when project starts/started (may be in the future)
-
setText
public void setText(LocalizedStructuredContent text)
- Parameters:
text- set localized formatted text describing project
-
-