Class Project
- java.lang.Object
-
- de.digitalcollections.model.UniqueObject
-
- 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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProject.ProjectBuilder<C extends Project,B extends Project.ProjectBuilder<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, notes, 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 Project()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDategetEndDate()LocalDategetStartDate()LocalizedStructuredContentgetText()protected voidinit()Use to initialize member variables, used by default constructor and buildervoidsetEndDate(LocalDate endDate)voidsetStartDate(LocalDate startDate)voidsetText(LocalizedStructuredContent text)-
Methods inherited from class de.digitalcollections.model.identifiable.entity.Entity
addNotes, equals, getCustomAttribute, getCustomAttributes, getEntityType, getNavDate, getNotes, getRefId, hashCode, setCustomAttribute, setCustomAttributes, setNavDate, setNotes, setRefId
-
Methods inherited from class de.digitalcollections.model.identifiable.Identifiable
addIdentifier, getDescription, getIdentifiableObjectType, getIdentifierByNamespace, getIdentifiers, getLabel, getLocalizedUrlAliases, getPreviewImage, getPreviewImageRenderingHints, getPrimaryUrlAlias, getType, 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
-
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
-
init
protected void init()
Description copied from class:UniqueObjectUse to initialize member variables, used by default constructor and builder
-
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
-
-