Class Identifiable.IdentifiableBuilder<C extends Identifiable,B extends Identifiable.IdentifiableBuilder<C,B>>

java.lang.Object
de.digitalcollections.model.UniqueObject.UniqueObjectBuilder<C,B>
de.digitalcollections.model.identifiable.Identifiable.IdentifiableBuilder<C,B>
Direct Known Subclasses:
Entity.EntityBuilder, FamilyName.FamilyNameBuilder, FileResource.FileResourceBuilder, GivenName.GivenNameBuilder, Subject.SubjectBuilder, Webpage.WebpageBuilder
Enclosing class:
Identifiable

public abstract static class Identifiable.IdentifiableBuilder<C extends Identifiable,B extends Identifiable.IdentifiableBuilder<C,B>> extends UniqueObject.UniqueObjectBuilder<C,B>
  • Constructor Details

    • IdentifiableBuilder

      public IdentifiableBuilder()
  • Method Details

    • altText

      public B altText(Locale locale, String text)
    • altTextFromLabel

      public B altTextFromLabel()
    • build

      public C build()
      Overrides:
      build in class UniqueObject.UniqueObjectBuilder<C extends Identifiable,B extends Identifiable.IdentifiableBuilder<C,B>>
    • description

      public B description(Locale locale, String text)
    • description

      public B description(String lang, String text)
    • dontOpenPreviewImageInNewWindow

      public B dontOpenPreviewImageInNewWindow()
    • identifier

      public B identifier(Identifier identifier)
    • label

      public B label(Locale locale, String localizedLabel)
    • label

      public B label(String nonlocalizedLabel)
    • label

      public B label(LocalizedText localizedText)
    • openLinkInNewWindow

      public B openLinkInNewWindow()
    • openPreviewImageInNewWindow

      public B openPreviewImageInNewWindow()
    • previewImage

      public B previewImage(ImageFileResource previewImage)
    • previewImage

      public B previewImage(String url, int width, int height)
    • previewImage

      public B previewImage(String fileName, String uuid, String uri)
    • previewImage

      public B previewImage(String fileName, String uuid, String uri, MimeType mimeType)
    • previewImage

      public B previewImage(String fileName, String uuid, String uri, MimeType mimeType, String httpBaseUrl)
    • primaryLocalizedUrlAlias

      public B primaryLocalizedUrlAlias(Locale targetLocale, String slug)
    • setInternalReferences

      public void setInternalReferences(C c)
    • subject

      public B subject(Subject subject)
    • tag

      public B tag(Tag tag)
    • title

      public B title(Locale locale, String text)
    • titleFromLabel

      public B titleFromLabel()