uk.ac.bbk.dcs.automed.evolution
Class EvolutionUtility
java.lang.Object
uk.ac.bbk.dcs.automed.evolution.EvolutionUtility
public class EvolutionUtility
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvolutionUtility
public EvolutionUtility()
listPathway
public static void listPathway(Pathway p)
displaySet
public static void displaySet(java.util.Set set)
displayTransformation
public static void displayTransformation(Transformation transformation)
showPathway
public static void showPathway()
throws java.lang.Exception
- Throws:
java.lang.Exception
getTransformations
public static Transformation[] getTransformations(Schema schema1,
Schema schema2)
throws IntegrityException,
NotFoundException
- Throws:
IntegrityException
NotFoundException
showPathways
public static void showPathways(java.lang.String schema1,
java.lang.String schema2)
throws java.lang.Exception
- Throws:
java.lang.Exception
showPathways
public static void showPathways(Schema schema1,
Schema schema2)
throws java.lang.Exception
- Throws:
java.lang.Exception
retractAll
public static void retractAll()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeInBetweenSchemas
public static void removeInBetweenSchemas()
throws java.lang.Exception
- Retracts schemas in the pathway from s1 to s2, WITHOUT retracting s2.
- Throws:
java.lang.Exception
retract
public static void retract(java.lang.String schemaName)
getTransformationBetweenSchemas
public static Transformation getTransformationBetweenSchemas(Schema fromSchema,
Schema toSchema)
throws EvolutionException
- Throws:
EvolutionException
applyTransformationToSchema
public static Schema applyTransformationToSchema(Transformation t,
Schema schemaToBeAppliedOn)
throws EvolutionException
- This method is given transformation and a schema arguments.
applies the same transformation to the schema argument. Returns the schema
- Throws:
EvolutionException
duplicateSchema
public static Schema duplicateSchema(Schema s,
java.lang.String dupName)
throws EvolutionException
- Throws:
EvolutionException
applyPathway
public static Schema applyPathway(Transformation[] ts,
Schema currentSchema)
throws java.lang.Exception
- Throws:
java.lang.Exception
dropSchemas
public static void dropSchemas(Pathway p)
throws IntegrityException,
NotFoundException
- Retracts schemas in the pathway from s1 to s2, WITHOUT retracting s2.
- Throws:
IntegrityException
NotFoundException