it.unimi.dico.islab.idbs2.map
Class Mapping

java.lang.Object
  extended by it.unimi.dico.islab.idbs2.map.Mapping

public class Mapping
extends Object

Representation of a matching result. It could be:

Author:
Vegeziel

Constructor Summary
protected Mapping()
           Empty constructor needed for Hibernate compatibility.
 
Method Summary
 String getComment()
           
 Double getConfidence()
           
 Integer getId()
           
 Boolean getIsUserValid()
           
 MappingSet getMappingSet()
           
 MappingSet getMatchingAxioms()
           
 Relation getRelation()
           
 Double getSimilarity()
           
 String getSource_element()
           
 String getTarget_element()
           
 void setComment(String comment)
           
protected  void setConfidence(Double confidence)
           
 void setIsUserValid(Boolean isUserValid)
           
 void setMappingSet(MappingSet mappingSet)
           
 void setMatchingAxioms(MappingSet matchingAxioms)
           
protected  void setRelation(Relation relation)
           
protected  void setSimilarity(Double similarity)
           
protected  void setSource_element(String source_element)
           
protected  void setTarget_element(String target_element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapping

protected Mapping()

Empty constructor needed for Hibernate compatibility. Direct use is discouraged. Use MappingSet.addMapping instead.

See Also:
MappingSet.addMapping(Relation, String, String, MappingSet, double, double)
Method Detail

getComment

public String getComment()

getRelation

public Relation getRelation()

getMappingSet

public MappingSet getMappingSet()

setMappingSet

public void setMappingSet(MappingSet mappingSet)

setComment

public void setComment(String comment)

getConfidence

public Double getConfidence()

setConfidence

protected void setConfidence(Double confidence)

getIsUserValid

public Boolean getIsUserValid()

setIsUserValid

public void setIsUserValid(Boolean isUserValid)

setRelation

protected void setRelation(Relation relation)

getId

public Integer getId()

getSource_element

public String getSource_element()

setSource_element

protected void setSource_element(String source_element)

getTarget_element

public String getTarget_element()

setTarget_element

protected void setTarget_element(String target_element)

getSimilarity

public Double getSimilarity()

setSimilarity

protected void setSimilarity(Double similarity)

setMatchingAxioms

public void setMatchingAxioms(MappingSet matchingAxioms)

getMatchingAxioms

public MappingSet getMatchingAxioms()