DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.url
Class DupSim

java.lang.Object
  extended by 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 $


Nested Class Summary
 class DupSim.DupSimComparator
          Description of the Class
 
Constructor Summary
DupSim()
          Constructor for the DupSim object
DupSim(ADNItemDocReader reader, String field)
          Constructor for the DupSim object
DupSim(String id, String url, String type, String field, String xmlFormat)
          Constructor for the DupSim object
 
Method Summary
 DupSim.DupSimComparator getComparator()
          Gets the comparator attribute of the DupSim object
 String getField()
          Gets the field attribute of the DupSim object
 String getId()
          Gets the id attribute of the DupSim object
 String getType()
          Gets the type attribute of the DupSim object
 String getUrl()
          Gets the url attribute of the DupSim object
 String getXmlFormat()
          Gets the xmlFormat attribute of the DupSim object
protected  void prtln(String s)
          Description of the Method
 String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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

DLESE Tools
v1.6.0