|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.unimi.dico.islab.idbs2.map.MappingSet
public class MappingSet
Container for a set of Mapping
s representing the high level matching between two Document
s
or between two KnowledgeChunk
s.
KnowledgeChunk
,
Mapping
,
Document
Constructor Summary | |
---|---|
protected |
MappingSet()
Empty constructor needed for Hibernate compatibility. |
|
MappingSet(String source,
String target,
String type,
double affinity,
String comment)
|
Method Summary | |
---|---|
Mapping |
addMapping(Relation r,
String source,
String target,
MappingSet matchingAxioms,
double similarity,
double confidence)
Adds a mapping to this MappingSet . |
Double |
getAffinity()
|
String |
getComment()
|
Configuration |
getConf()
|
Date |
getCreationDate()
|
Integer |
getId()
|
Set<Mapping> |
getMappings()
|
String |
getSource()
|
String |
getSourceConnectionString()
|
String |
getTarget()
|
String |
getTargetConnectionString()
|
String |
getType()
|
User |
getUser()
|
void |
setAffinity(Double affinity)
|
void |
setComment(String comment)
|
void |
setConf(Configuration conf)
|
void |
setCreationDate(Date creationDate)
|
void |
setId(Integer id)
|
void |
setMappings(Set<Mapping> mappings)
|
void |
setSource(String source)
|
void |
setSourceConnectionString(String sourceConnectionString)
|
void |
setTarget(String target)
|
void |
setTargetConnectionString(String targetConnectionString)
|
void |
setType(String type)
|
void |
setUser(User user)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MappingSet()
public MappingSet(String source, String target, String type, double affinity, String comment)
Method Detail |
---|
public Mapping addMapping(Relation r, String source, String target, MappingSet matchingAxioms, double similarity, double confidence)
Adds a mapping to this MappingSet
.
r
- comparison relation used to obtain a matching value (equality, synonymity, meronymy, ecc.)source
- a string representing the source element of the comparisontarget
- a string representing the target element of the comparisonsimilarity
- the result value of the comparisonconfidence
- a double value representing the "level of trust" of this mappingpublic Integer getId()
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public Set<Mapping> getMappings()
public void setMappings(Set<Mapping> mappings)
public void setId(Integer id)
public User getUser()
public void setUser(User user)
public Configuration getConf()
public void setConf(Configuration conf)
public String getSource()
public void setSource(String source)
public String getTarget()
public void setTarget(String target)
public String getSourceConnectionString()
public void setSourceConnectionString(String sourceConnectionString)
public String getTargetConnectionString()
public void setTargetConnectionString(String targetConnectionString)
public String getComment()
public void setComment(String comment)
public String getType()
public void setType(String type)
public Double getAffinity()
public void setAffinity(Double affinity)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |