Package no.unit.nva.model
Class Publication.Builder
java.lang.Object
no.unit.nva.model.Publication.Builder
- Enclosing class:
- Publication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withAdditionalIdentifiers(Set<AdditionalIdentifier> additionalIdentifiers) withAssociatedArtifacts(List<AssociatedArtifact> associatedArtifacts) withCreatedDate(Instant createdDate) withCuratingInstitutions(Set<URI> curatingInstitutions) withDuplicateOf(URI duplicateOf) withEntityDescription(EntityDescription entityDescription) withFundings(List<Funding> fundings) withHandle(URI handle) withIdentifier(no.unit.nva.identifiers.SortableIdentifier identifier) withIndexedDate(Instant indexedDate) withModifiedDate(Instant modifiedDate) withProjects(List<ResearchProject> projects) withPublicationNotes(List<PublicationNoteBase> publicationNotes) withPublishedDate(Instant publishedDate) withPublisher(Organization publisher) withResourceOwner(ResourceOwner randomResourceOwner) withRightsHolder(String rightsHolder) withStatus(PublicationStatus status) withSubjects(List<URI> subjects)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withIdentifier
-
withStatus
-
withPublisher
-
withCreatedDate
-
withModifiedDate
-
withPublishedDate
-
withIndexedDate
-
withHandle
-
withDoi
-
withLink
-
withEntityDescription
-
withAssociatedArtifacts
-
withProjects
-
withFundings
-
withAdditionalIdentifiers
public Publication.Builder withAdditionalIdentifiers(Set<AdditionalIdentifier> additionalIdentifiers) -
withSubjects
-
withResourceOwner
-
build
-
withRightsHolder
-
withPublicationNotes
-
withDuplicateOf
-
withCuratingInstitutions
-