|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omwg.mediation.mappingstore.store.MappingStoreImpl
Constructor Summary | |
MappingStoreImpl(java.lang.String indexDir)
|
Method Summary | |
Mapping |
loadMapping(MappingID mapping)
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MappingStoreImpl(java.lang.String indexDir)
Method Detail |
public java.util.Iterator searchByVersion(Version v)
MappingStore
searchByVersion
in interface MappingStore
v
- given version
public java.util.Iterator searchByName(java.lang.String name)
MappingStore
searchByName
in interface MappingStore
name
- given name of mapping
public java.util.Iterator searchByKeywords(java.util.List keywords)
MappingStore
searchByKeywords
in interface MappingStore
keywords
- list of strings representing given keywords
public java.util.Iterator searchBySourceOntology(java.lang.String sourceOntURI)
MappingStore
searchBySourceOntology
in interface MappingStore
sourceOntURI
- given ontology identifier
public java.util.Iterator searchByTargetOntology(java.lang.String targetOntURI)
MappingStore
searchByTargetOntology
in interface MappingStore
targetOntURI
- given ontology identifier
public java.util.Iterator searchByRestriction(MappingRestriction mappingRestriction)
MappingStore
searchByRestriction
in interface MappingStore
mappingRestriction
- given restrictions on mapping fields
public MappingID storeMapping(Mapping mapping)
MappingStore
storeMapping
in interface MappingStore
mapping
- given mapping
public Mapping loadMapping(MappingID mapping)
MappingStore
loadMapping
in interface MappingStore
mapping
- the identifier of mapping
public void removeMapping(MappingID mapping)
MappingStore
removeMapping
in interface MappingStore
mapping
- the identifier of mapping
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |