Class CreationInfo
- java.lang.Object
-
- de.digitalcollections.model.production.CreationInfo
-
public class CreationInfo extends Object
Details (who, when and where) about the creation of the digital object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreationInfo.Builder
-
Constructor Summary
Constructors Constructor Description CreationInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreationInfo.Builder
builder()
Agent
getCreator()
LocalDate
getDate()
GeoLocation
getGeoLocation()
void
setCreator(Agent creator)
Specify, who created the digital objectvoid
setDate(LocalDate date)
Set the date, when then creation of the digital object happenedvoid
setGeoLocation(GeoLocation geoLocation)
Set the geolocation, where the creation of the digital object took geolocationString
toString()
-
-
-
Method Detail
-
builder
public static CreationInfo.Builder builder()
-
getCreator
public Agent getCreator()
- Returns:
- the creator of the digital object
-
getDate
public LocalDate getDate()
- Returns:
- the date, when the creation of the digital object happened
-
getGeoLocation
public GeoLocation getGeoLocation()
- Returns:
- the geolocation, where the creation of the digital object took geolocation
-
setCreator
public void setCreator(Agent creator)
Specify, who created the digital object- Parameters:
creator
- the creator
-
setDate
public void setDate(LocalDate date)
Set the date, when then creation of the digital object happened- Parameters:
date
- the date
-
setGeoLocation
public void setGeoLocation(GeoLocation geoLocation)
Set the geolocation, where the creation of the digital object took geolocation- Parameters:
geoLocation
- the geolocation
-
-