|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MappingStore is a component that allows storage/retrieval of Mapping objects. There could be multiple implementation classes for this interface, e.g. File-based, Database, Full-text. A MappingStore object could be obtained from StorageFactory.
Method Summary | |
Mapping |
loadMapping(MappingID id)
Loads a mapping through its identifier |
void |
removeMapping(MappingID mapping)
Removes a mapping specified by its identifier. |
java.util.Iterator |
searchByKeywords(java.util.List keywords)
Searches for all mappings with the given keywords in their descriptions |
java.util.Iterator |
searchByName(java.lang.String name)
Searches for an ontology mapping with given name |
java.util.Iterator |
searchByRestriction(MappingRestriction mappingRestriction)
Searches for ontology mappings in respect to given composite restriction . |
java.util.Iterator |
searchBySourceOntology(java.lang.String sourceOntURI)
Searches for ontology mappings with specified source ontology |
java.util.Iterator |
searchByTargetOntology(java.lang.String targetOntURI)
Searches for ontology mappings with specified target ontology |
java.util.Iterator |
searchByVersion(Version v)
Searches for an ontology mapping by its version |
MappingID |
storeMapping(Mapping mapping)
Stores a mapping and returns new created mapping identifier |
Method Detail |
public java.util.Iterator searchByVersion(Version v)
v
- given version
public java.util.Iterator searchByName(java.lang.String name)
name
- given name of mapping
public java.util.Iterator searchByKeywords(java.util.List keywords)
keywords
- list of strings representing given keywords
public java.util.Iterator searchBySourceOntology(java.lang.String sourceOntURI)
sourceOntURI
- given ontology identifier
public java.util.Iterator searchByTargetOntology(java.lang.String targetOntURI)
targetOntURI
- given ontology identifier
public java.util.Iterator searchByRestriction(MappingRestriction mappingRestriction)
mappingRestriction
- given restrictions on mapping fields
public MappingID storeMapping(Mapping mapping)
mapping
- given mapping
public Mapping loadMapping(MappingID id)
id
- the identifier of mapping
public void removeMapping(MappingID mapping)
mapping
- the identifier of mapping
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |