|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectuk.ac.bbk.dcs.automed.qproc.reformulate.ReformulationUtility
public class ReformulationUtility
| Constructor Summary | |
|---|---|
ReformulationUtility()
|
|
| Method Summary | |
|---|---|
static Cell |
getDefaultQuery(int rangeSemantics)
|
private static Cell |
mergeViews(Cell view1,
Cell view2)
|
static Cell |
mergeViews(Cell view1,
Cell view2,
int rangeSemantics)
merge: RangexRange -> Range merge (Range e11 e12) (Range e21 e22) = Range (union e11 e21) (intersect e12 e22) |
static void |
updateSchemaRef(Cell n,
Schema aSchema)
Forces the schema reference for a Cell tree to the given schema. |
static void |
updateSchemeInfo(Cell c,
Schema cellSchema)
Helper method for updateSchemeInfo(SchemeInfo, Schema). |
static void |
updateSchemeInfo(SchemeInfo si,
Schema cellSchema)
Update a Scheme info by contacting low-level SchemaObject API. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReformulationUtility()
| Method Detail |
|---|
public static Cell mergeViews(Cell view1,
Cell view2,
int rangeSemantics)
merge: RangexRange -> Range
merge (Range e11 e12) (Range e21 e22) = Range (union e11 e21) (intersect e12 e22)
view1 - view2 - rangeSemantics -
private static Cell mergeViews(Cell view1,
Cell view2)
public static void updateSchemeInfo(SchemeInfo si,
Schema cellSchema)
throws NotFoundException
si - SchemeInfo object to be updatedcellSchema - Schema on which the SchemeInfo object is to be asserted.
NotFoundException - Thrown if the SchemaObject with the given SchemeInfo does not exist in the given Schema.
public static void updateSchemeInfo(Cell c,
Schema cellSchema)
throws NotFoundException
updateSchemeInfo(SchemeInfo, Schema). It treats the Cell object as a tree and updates all the
SchemeInfo objects found in the tree.
c - Root cell of the treecellSchema - {link updateSchemeInfo(SchemeInfo, Schema)
NotFoundException
public static void updateSchemaRef(Cell n,
Schema aSchema)
n - Root cell of a comprehension or Cell tree.aSchema - New schema reference.public static Cell getDefaultQuery(int rangeSemantics)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||