Class DupSim

java.lang.Object
org.dlese.dpc.schemedit.url.DupSim

public class DupSim extends Object
Class to hold results of searches for duplicate or similar URLs. Associates a particular url with the record id and whether it represents a duplicate or similar url, as well as whether the url is from the PrimaryUrl or MirrorUrl fields.
Author:
ostwald

$Id $

  • Constructor Details

    • DupSim

      public DupSim()
      Constructor for the DupSim object
    • DupSim

      public DupSim(String id, String url, String type, String field, String xmlFormat)
      Constructor for the DupSim object
      Parameters:
      id - Description of the Parameter
      url - Description of the Parameter
      type - Description of the Parameter
      field - Description of the Parameter
      xmlFormat - Description of the Parameter
    • DupSim

      public DupSim(ADNItemDocReader reader, String field)
      Constructor for the DupSim object
      Parameters:
      reader - NOT YET DOCUMENTED
      field - NOT YET DOCUMENTED
  • Method Details

    • toString

      public String toString()
      Description of the Method
      Overrides:
      toString in class Object
      Returns:
      Description of the Return Value
    • getId

      public String getId()
      Gets the id attribute of the DupSim object
      Returns:
      The id value
    • getUrl

      public String getUrl()
      Gets the url attribute of the DupSim object
      Returns:
      The url value
    • getType

      public String getType()
      Gets the type attribute of the DupSim object
      Returns:
      The type value
    • getField

      public String getField()
      Gets the field attribute of the DupSim object
      Returns:
      The field value
    • getXmlFormat

      public String getXmlFormat()
      Gets the xmlFormat attribute of the DupSim object
      Returns:
      The xmlFormat value
    • getComparator

      public DupSim.DupSimComparator getComparator()
      Gets the comparator attribute of the DupSim object
      Returns:
      The comparator value
    • prtln

      protected void prtln(String s)
      Description of the Method
      Parameters:
      s - Description of the Parameter