|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.p2p.PathwayDescription
public class PathwayDescription
| Constructor Summary | |
|---|---|
PathwayDescription(AbstractMessage reply)
Edited by dmle on 9/11/2005 to cater for cases where there are multiple sets of pathways (i.e. |
|
PathwayDescription(java.lang.String fromSchema,
java.lang.String toSchema,
java.lang.String transformations,
float quality,
DataSource ds)
Overloading constructor for creating a description of an pathway abstraction |
|
PathwayDescription(java.lang.String fromSchema,
java.lang.String toSchema,
java.lang.String transformations,
float quality,
java.lang.String dsType,
int capability)
A constructor for creating a description of an pathway abstraction |
|
| Method Summary | |
|---|---|
static java.util.List |
convertIntoObjects(java.util.List rows)
A method for creating a pathway abstraction objects from a List of records |
static PathwayDescription |
deserialise(java.util.Map pa)
This method guarantees that a PersistentObject can be deserialised properly from its own set of persistent attributes. |
DataSource |
getDataSource()
|
java.lang.String |
getFromSchema()
|
PersistentKey |
getKey()
|
Root |
getModelTree()
Return the models tree dmle 14/11/2005 |
int |
getNumPathWays()
return the number of pathways |
java.util.Map |
getPersistentAttributes()
|
float |
getQuality()
|
Root |
getRoot()
Backward compatible method: return the first element by default |
Root[] |
getRoots()
Get all roots |
java.lang.String |
getToSchema()
|
java.lang.String |
getTransformations()
XML representation of the transformations |
static java.lang.String |
toString(java.lang.Object o)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathwayDescription(AbstractMessage reply)
throws IllegalReplyException
IllegalReplyException
public PathwayDescription(java.lang.String fromSchema,
java.lang.String toSchema,
java.lang.String transformations,
float quality,
java.lang.String dsType,
int capability)
public PathwayDescription(java.lang.String fromSchema,
java.lang.String toSchema,
java.lang.String transformations,
float quality,
DataSource ds)
| Method Detail |
|---|
public static java.util.List convertIntoObjects(java.util.List rows)
public static java.lang.String toString(java.lang.Object o)
public java.lang.String getTransformations()
public DataSource getDataSource()
public java.lang.String getFromSchema()
public float getQuality()
public Root getRoot()
public Root[] getRoots()
public java.lang.String getToSchema()
public int getNumPathWays()
public Root getModelTree()
public PersistentKey getKey()
getKey in interface PersistentObjectpublic java.util.Map getPersistentAttributes()
getPersistentAttributes in interface PersistentObject
public static PathwayDescription deserialise(java.util.Map pa)
throws java.lang.IllegalArgumentException
getPersistentAttributes()
pa - a HashMap of persistent attributes (created by {@link #getPersistentAttributes())
java.lang.IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||