All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.digitalcollections.iiif.presentation.model.impl.v2.references.ManifestReferenceImpl Maven / Gradle / Ivy

The newest version!
package de.digitalcollections.iiif.presentation.model.impl.v2.references;

import de.digitalcollections.iiif.presentation.model.api.v2.PropertyValue;
import de.digitalcollections.iiif.presentation.model.api.v2.references.ManifestReference;
import java.net.URI;
import java.time.Instant;

public class ManifestReferenceImpl extends IiifReferenceImpl implements ManifestReference {

  private String type = "sc:Manifest";

  private Instant navDate; // optional
  
  public ManifestReferenceImpl() {
    this(null);
  }

  public ManifestReferenceImpl(URI id) {
    super(id);
  }

  public ManifestReferenceImpl(URI id, PropertyValue label) {
    super(id, label);
  }

  @Override
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }
  

  @Override
  public Instant getNavDate() {
    return navDate;
  }

  @Override
  public void setNavDate(Instant navDate) {
    this.navDate = navDate;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy