Class ResultItem

java.lang.Object
nl.knaw.dans.lib.dataverse.model.search.ResultItem
Direct Known Subclasses:
DatasetResultItem, DataverseResultItem, FileResultItem

public abstract class ResultItem extends Object
  • Constructor Details

    • ResultItem

      protected ResultItem()
    • ResultItem

      protected ResultItem(SearchItemType type)
  • Method Details

    • getType

      public SearchItemType getType()
    • getName

      public String getName()
    • getUrl

      public URI getUrl()
    • getDescription

      public String getDescription()
    • getPublishedAt

      public String getPublishedAt()
    • setName

      public void setName(String name)
    • setUrl

      public void setUrl(URI url)
    • setDescription

      public void setDescription(String description)
    • setPublishedAt

      public void setPublishedAt(String publishedAt)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object