ch.elexis.exchange
Class MetaXid
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaXid
public MetaXid(Element xidElement)
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)
Copyright 2005-2011 by Gerry Weirich, Elexis