de.topicmapslab.majortom.store
Class NameMergeCandidate

java.lang.Object
  extended by de.topicmapslab.majortom.store.NameMergeCandidate

public class NameMergeCandidate
extends java.lang.Object

Class represents a duplicate name candidate

Author:
Sven Krosse

Field Summary
private  de.topicmapslab.majortom.model.core.IName name
           
private  de.topicmapslab.majortom.model.core.ITopic topic
           
 
Constructor Summary
NameMergeCandidate(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.IName name)
           
 
Method Summary
 de.topicmapslab.majortom.model.core.IName getName()
          Return the duplicated name
 de.topicmapslab.majortom.model.core.ITopic getTopic()
          Return the duplicated topic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topic

private de.topicmapslab.majortom.model.core.ITopic topic

name

private de.topicmapslab.majortom.model.core.IName name
Constructor Detail

NameMergeCandidate

public NameMergeCandidate(de.topicmapslab.majortom.model.core.ITopic topic,
                          de.topicmapslab.majortom.model.core.IName name)
Parameters:
topic - the parent topic
name - the duplicate name
Method Detail

getName

public de.topicmapslab.majortom.model.core.IName getName()
Return the duplicated name

Returns:
the name

getTopic

public de.topicmapslab.majortom.model.core.ITopic getTopic()
Return the duplicated topic

Returns:
the topic