|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.reps.Pathway
public class Pathway
The Pathway class
Path| Field Summary | |
|---|---|
protected java.util.ArrayList |
trans
|
protected java.util.ArrayList |
transStatus
|
| Constructor Summary | |
|---|---|
protected |
Pathway(Schema[] schemaArray)
Make this protected for sub-classes to use |
| Method Summary | |
|---|---|
protected void |
convertPathToTP(Schema[] path)
Create a list of Transformation objects that represent each transformation step
from one schema to the next included in path |
static Pathway |
createPathway(Schema[] schemaArray)
|
static java.util.List |
findAllPathways(Schema schema1,
Schema schema2)
Return all possible pathways to a data source |
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. |
java.util.Map |
getAssociatedModels()
Return all associated Models necessary to re-build the
Schemas in the pathway |
PersistentKey |
getKey()
|
Schema |
getLastExtSchema()
Returns the last extentional Schema in the pathway. |
java.util.Map |
getPersistentAttributes()
|
float |
getQualityMeasure()
|
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()
|
int |
size()
Returns the number of Schemas in the pathway. |
java.lang.String |
toLaTeX()
Returns the Pathway in a form that may rendered by
the hdm.sty LaTeX package. |
java.lang.String |
toString()
|
void |
write()
Write out the series of transformations found in this pathway to the standard output in a human readable form |
void |
write(java.io.OutputStream os)
|
void |
write(java.io.OutputStream os,
int format)
|
void |
write(java.io.PrintWriter pw,
java.lang.String prefix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ArrayList trans
protected java.util.ArrayList transStatus
| Constructor Detail |
|---|
protected Pathway(Schema[] schemaArray)
| 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
NotFoundException
public static java.util.List findAllPathways(Schema schema1,
Schema schema2)
throws IntegrityException,
NotFoundException
IntegrityException
NotFoundExceptionprotected void convertPathToTP(Schema[] path)
Transformation objects that represent each transformation step
from one schema to the next included in path
public boolean isWellformed()
public 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 void write(java.io.OutputStream os)
public void write(java.io.PrintWriter pw,
java.lang.String prefix)
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.
public PersistentKey getKey()
getKey in interface PersistentObjectpublic java.util.Map getPersistentAttributes()
getPersistentAttributes in interface PersistentObject
public void write(java.io.OutputStream os,
int format)
throws java.io.IOException
java.io.IOExceptionpublic float getQualityMeasure()
public java.util.Map getAssociatedModels()
Models necessary to re-build the
Schemas in
public java.lang.String toLaTeX()
Pathway in a form that may rendered by
the hdm.sty LaTeX package.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||