Class Publisher
java.lang.Object
de.digitalcollections.model.identifiable.entity.manifestation.Publisher
A Publisher is kind of involvement, consisting of the agent (zero or one), a list of locations
(or zero locations) and a date (can be empty, too), which is relevant for this publisher
involvement.
A Publisher can be an organization, which is active at multiple places and during a certain period of time.
Just think of a (here fictive) publishing house, e.g. "Karl-Ranseier-Verlag", which had dependencies in Cologne and Berlin and was active between 1994 and 1998.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Publisher.PublisherBuilder<C extends Publisher,
B extends Publisher.PublisherBuilder<C, B>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLocation
(HumanSettlement location) boolean
getAgent()
Returns the agent.Used for the textual (free text, no limitations) represenation of the date for the publisher.Returns the locations.int
hashCode()
void
void
setDatePresentation
(String datePresentation) void
setLocations
(List<HumanSettlement> locations) toString()
-
Constructor Details
-
Publisher
public Publisher() -
Publisher
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getLocations
Returns the locations. Currently, only the name of the HumanSettlements is relevant, what means, that these HumanSettlemens won't be reused.- Returns:
- List of locations where only the names are relevant
-
getAgent
Returns the agent. Currently, only the name is relevant, what means, that you cannot reuse the agent- Returns:
- the agent where only the name is relevant
-
setLocations
-
addLocation
-
setAgent
-
getDatePresentation
Used for the textual (free text, no limitations) represenation of the date for the publisher.- Returns:
- an unformatted, unspecified string
-
setDatePresentation
-
toString
-