Class PhysicalElementBuilder

java.lang.Object
io.goobi.viewer.model.viewer.PhysicalElementBuilder

public class PhysicalElementBuilder extends Object
  • Constructor Details

    • PhysicalElementBuilder

      public PhysicalElementBuilder()
  • Method Details

    • build

      public PhysicalElement build()
    • getPi

      public String getPi()
      Returns:
      the pi
    • setPi

      public PhysicalElementBuilder setPi(String pi)
      Parameters:
      pi - the pi to set
      Returns:
      this
    • getFilePath

      public String getFilePath()
      Returns:
      the filePath
    • setFilePath

      public PhysicalElementBuilder setFilePath(String filePath)
      Parameters:
      filePath - the filePath to set
      Returns:
      this
    • getOrder

      public int getOrder()
      Returns:
      the order
    • setOrder

      public PhysicalElementBuilder setOrder(int order)
      Parameters:
      order - the order to set
      Returns:
      this
    • getOrderLabel

      public String getOrderLabel()
      Returns:
      the orderLabel
    • setOrderLabel

      public PhysicalElementBuilder setOrderLabel(String orderLabel)
      Parameters:
      orderLabel - the orderLabel to set
      Returns:
      this
    • getPhysId

      public String getPhysId()
      Returns:
      the physId
    • setPhysId

      public PhysicalElementBuilder setPhysId(String physId)
      Parameters:
      physId - the physId to set
      Returns:
      this
    • getUrn

      public String getUrn()
      Returns:
      the urn
    • setUrn

      public PhysicalElementBuilder setUrn(String urn)
      Parameters:
      urn - the urn to set
      Returns:
      this
    • getPurlPart

      public String getPurlPart()
      Returns:
      the purlPart
    • setPurlPart

      public PhysicalElementBuilder setPurlPart(String purlPart)
      Parameters:
      purlPart - the purlPart to set
      Returns:
      this
    • getMimeType

      public String getMimeType()
      Returns:
      the mimeType
    • setMimeType

      public PhysicalElementBuilder setMimeType(String mimeType)
      Parameters:
      mimeType - the mimeType to set
      Returns:
      this
    • getDataRepository

      public String getDataRepository()
      Returns:
      the dataRepository
    • setDataRepository

      public PhysicalElementBuilder setDataRepository(String dataRepository)
      Parameters:
      dataRepository - the dataRepository to set
      Returns:
      this