|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.reps.HDMTransformations
public class HDMTransformations
| Constructor Summary | |
|---|---|
HDMTransformations(Schema sourceSchema)
Creates a new instance of HDMTransformations |
|
| Method Summary | |
|---|---|
Schema |
idNodeExpand(SchemaObject expandNode)
The reverse of an id node merge. |
Schema |
idNodeMerge(SchemaObject edgeObject)
ID node merge. |
Schema |
inclusionExpand(SchemaObject nodeB,
SchemaObject edgeObject)
Inclusion expand transformation |
Schema |
inclusionMerge(SchemaObject nodeB,
SchemaObject edgeObject)
Inclusion merge transformation |
Schema |
moveInclusion(SchemaObject sourceNode,
SchemaObject targetNode)
Move an inclusion constraint between 2 identical nodes |
Schema |
nodeReidentify(SchemaObject nodeObject,
SchemaObject mapObject)
Node reidentify |
Schema |
removeRecursion(SchemaObject parentObject,
SchemaObject nodeObject,
java.lang.String nodeName,
java.lang.String containerName)
Remove recursion |
void |
setSchema(Schema schema)
Set the schema for this object |
Schema |
uMRedirection(SchemaObject edgeObject,
SchemaObject mapObject)
Unique Mandatory redirection |
static UserActionResult |
userActionNodeReidentify(Gui g,
java.lang.Object[] o)
The user action to do a node reidentify |
static UserActionResult |
userActionRemoveRecursion(Gui g,
java.lang.Object[] o)
The user action to do a node reidentify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HDMTransformations(Schema sourceSchema)
throws NotFoundException
NotFoundException| Method Detail |
|---|
public void setSchema(Schema schema)
public Schema moveInclusion(SchemaObject sourceNode,
SchemaObject targetNode)
throws AutoMedException
sourceNode - - The source nodetargetNode - - The target node
AutoMedException
public Schema idNodeMerge(SchemaObject edgeObject)
throws AutoMedException
edgeObject - The edge linking the two nodes we're going to merge
AutoMedException
public Schema idNodeExpand(SchemaObject expandNode)
throws AutoMedException
expandNode - is the node we want to expand
AutoMedException
public Schema inclusionMerge(SchemaObject nodeB,
SchemaObject edgeObject)
throws AutoMedException
AutoMedException
public Schema inclusionExpand(SchemaObject nodeB,
SchemaObject edgeObject)
throws AutoMedException
AutoMedException
public Schema uMRedirection(SchemaObject edgeObject,
SchemaObject mapObject)
throws AutoMedException
AutoMedException
public Schema nodeReidentify(SchemaObject nodeObject,
SchemaObject mapObject)
throws AutoMedException
nodeObject - is the node we wish to reidentify. This means change it's extentmapObject - is the object we will use to get the new extent of nodeObject. In
this case it's the edge linking nodeObject to the node that holds the new extent of
nodeObject.
The type of nodeObject will become that of the linked node
AutoMedException
public Schema removeRecursion(SchemaObject parentObject,
SchemaObject nodeObject,
java.lang.String nodeName,
java.lang.String containerName)
throws AutoMedException
nodeObject - is the recursive nodemapObject - is the parent of the recursive node
The type of nodeObject will become that of the linked node
Expand a structure with more than one parent
We need to create a new node that will serve as a parent to the multi parent node
The extent of this node will be the union of the parent nodes.
We also add an edge from the multiparent node to the new parent node
We also need to remove the edges to all the original parents and replace them
with inclusion constraints.
AutoMedException
public static UserActionResult userActionNodeReidentify(Gui g,
java.lang.Object[] o)
public static UserActionResult userActionRemoveRecursion(Gui g,
java.lang.Object[] o)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||