Class PublishingInfo
java.lang.Object
de.digitalcollections.model.identifiable.entity.manifestation.PublishingInfo
- Direct Known Subclasses:
DistributionInfo
,ProductionInfo
,PublicationInfo
An abstract container, which integrated all publishers, which are responsible in a certain way
(e.g. production) for a manifestation, and which also holds information about the time range of
that involvement.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
PublishingInfo.PublishingInfoBuilder<C extends PublishingInfo,
B extends PublishingInfo.PublishingInfoBuilder<C, B>> -
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected LocalDateRange
protected TimeValueRange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The original free text representation of the date or date rangeThe "navigation" date range - use for sorting and querying, will be filled heuristicallyThe date range with implicit precisionint
hashCode()
boolean
isEmpty()
void
setDatePresentation
(String datePresentation) Used to fill the textual representation of the date or date rangevoid
setNavDateRange
(LocalDateRange navDateRange) Used to heuristically fill the "navigation" date range, which is used for sorting and queryingvoid
setPublishers
(List<Publisher> publishers) void
setTimeValueRange
(TimeValueRange timeValueRange) Set the date range with the given implicit precisiontoString()
-
Field Details
-
publishers
-
datePresentation
-
timeValueRange
-
-
Constructor Details
-
PublishingInfo
public PublishingInfo()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
getPublishers
-
setPublishers
-
getDatePresentation
The original free text representation of the date or date range- Returns:
- the textual representation with no restrictions at all
-
setDatePresentation
Used to fill the textual representation of the date or date range- Parameters:
datePresentation
- A string with any data, you want
-
getTimeValueRange
The date range with implicit precision- Returns:
- a TimeValueRange
-
setTimeValueRange
Set the date range with the given implicit precision- Parameters:
timeValueRange
- The TimeValueRange
-
toString
-
equals
-
hashCode
public int hashCode()
-