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 classCreationInfo.Builder
-
Constructor Summary
Constructors Constructor Description CreationInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreationInfo.Builderbuilder()AgentgetCreator()LocalDategetDate()GeoLocationgetGeoLocation()voidsetCreator(Agent creator)Specify, who created the digital objectvoidsetDate(LocalDate date)Set the date, when then creation of the digital object happenedvoidsetGeoLocation(GeoLocation geoLocation)Set the geolocation, where the creation of the digital object took geolocationStringtoString()
-
-
-
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
-
-