|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--uk.ac.ic.doc.automed.reps.Pathway
The Pathway class
Path| Method Summary | |
static Pathway |
createPathway(Schema[] schemaArray)
|
static Pathway |
findShortestPathway(Schema schema1,
Schema schema2)
Find the shortest path containing the fewest number of steps between two schemas. |
static Pathway |
findShortestPathway(java.lang.String schema1,
java.lang.String schema2)
|
Schema |
get(int index)
Returns the Schema at the given index of the pathway. |
Schema |
getLastExtSchema()
Returns the last extentional Schema in the pathway. |
Schema[] |
getSchemas()
Return as an array the Schemas that appear in the
Transformations of this
Pathway. |
Transformation[] |
getTransformations()
Return as an array the Transformations that make up this
Pathway. |
java.lang.String |
getWellformedErrorMsg()
|
int |
indexOf(Schema s)
Returns the index of a given Schema within the pathway. |
boolean |
isWellformed()
|
TempPathway |
optimise()
|
TempPathway |
optimise(boolean removeUncertainPairs)
|
TempPathway |
optimise(boolean removeUncertainPairs,
PathwayOptimiserTool tool)
|
int |
size()
Returns the number of Schemas in the pathway. |
java.lang.String |
toString()
|
void |
write()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static Pathway createPathway(Schema[] schemaArray)
public static Pathway findShortestPathway(java.lang.String schema1,
java.lang.String schema2)
throws IntegrityException,
NotFoundException
IntegrityException
NotFoundException
public static Pathway findShortestPathway(Schema schema1,
Schema schema2)
throws IntegrityException,
NotFoundException
IntegrityException
NotFoundExceptionpublic boolean isWellformed()
public TempPathway optimise()
throws IntegrityException,
InconsistentException,
NotFoundException,
NotOptimisableException
IntegrityException
InconsistentException
NotFoundException
NotOptimisableException
public TempPathway optimise(boolean removeUncertainPairs)
throws IntegrityException,
InconsistentException,
NotFoundException,
NotOptimisableException
IntegrityException
InconsistentException
NotFoundException
NotOptimisableException
public TempPathway optimise(boolean removeUncertainPairs,
PathwayOptimiserTool tool)
throws IntegrityException,
InconsistentException,
NotFoundException,
NotOptimisableException
IntegrityException
InconsistentException
NotFoundException
NotOptimisableExceptionpublic Transformation[] getTransformations()
Transformations that make up this
Pathway.
public Schema[] getSchemas()
Schemas that appear in the
Transformations of this
Pathway.
public java.lang.String toString()
toString in class java.lang.Objectpublic void write()
public java.lang.String getWellformedErrorMsg()
public Schema getLastExtSchema()
Schema in the pathway.
public int indexOf(Schema s)
Schema within the pathway.
s - the Schema whose index within the pathway is to be returnedpublic Schema get(int index)
Schema at the given index of the pathway.
index - the index within the pathway that holds the required Schemapublic int size()
Schemas in the pathway.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||