uk.ac.ic.doc.automed.reps
Class PathwayAbstraction
java.lang.Object
uk.ac.ic.doc.automed.reps.Pathway
uk.ac.ic.doc.automed.reps.PathwayAbstraction
- All Implemented Interfaces:
- PersistentObject
public class PathwayAbstraction
- extends Pathway
PathwayAbstraction.java
A sub-class of #Pathway which encapsulates only an abstraction of
the transformation pathway from one schema to another. This abstraction is published
to the directory service for the purpose of routing pathways
- Author:
- Duc M Le dmle@doc.ic.ac.uk
Created on 03 May 2006
Department of Computing, Imperial College
|
Constructor Summary |
protected |
PathwayAbstraction(java.lang.String startSchema,
Schema[] schemaArray)
Creates a new instance of PathwayAbstraction |
| Methods inherited from class uk.ac.ic.doc.automed.reps.Pathway |
convertPathToTP, createPathway, findShortestPathway, findShortestPathway, get, getAssociatedModels, getLastExtSchema, getQualityMeasure, getSchemas, getTransformations, getWellformedErrorMsg, indexOf, isWellformed, size, toLaTeX, toString, write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PathwayAbstraction
protected PathwayAbstraction(java.lang.String startSchema,
Schema[] schemaArray)
- Creates a new instance of PathwayAbstraction
- Parameters:
startSchema - the starting schema of the transformation pathwayds - the DataSource object representing the end schemaschemaArray - the array of Schema objects forming the transformation pathway
findAllPathways
public static java.util.List findAllPathways(Schema schema1,
Schema schema2)
throws IntegrityException,
NotFoundException
- Override parent's method to return a List of
PathwayAbstraction objects instead
- Throws:
IntegrityException
NotFoundException
getKey
public PersistentKey getKey()
- Specified by:
getKey in interface PersistentObject- Overrides:
getKey in class Pathway
getPersistentAttributes
public java.util.Map getPersistentAttributes()
- Specified by:
getPersistentAttributes in interface PersistentObject- Overrides:
getPersistentAttributes in class Pathway