Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.exchange
Class MetaXid

java.lang.Object
  extended by ch.elexis.exchange.MetaXid

public class MetaXid
extends java.lang.Object

A MetaXid is a format for Xid that allows comparing and merging of Xids from different sources

Author:
gerry

Constructor Summary
MetaXid(Element xidElement)
           
 
Method Summary
 int match(MetaXid other)
          check whether this MetaXid might denote the same object
 boolean merge(MetaXid other)
           
 Element toElement(Namespace ns)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaXid

public MetaXid(Element xidElement)
Method Detail

match

public int match(MetaXid other)
check whether this MetaXid might denote the same object

Parameters:
other - the other MetaXid to compare
Returns:
0 - no indication for a match, 1 - some weak probability, 2 - probably a match, 3 - surely matching

toElement

public Element toElement(Namespace ns)

merge

public boolean merge(MetaXid other)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis