package edu.wustl.catissuecore.flex.dag;

import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;

public class DAGPath implements Externalizable {
	private String name =null;
	private String id= null;
	private boolean isSelected = false;
	private int sourceExpId =0;
	private int destinationExpId =0;
		
	
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public boolean isSelected() {
		return isSelected;
	}

	public void setSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}
	
	public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
		// TODO Auto-generated method stub
		name = in.readUTF();
		id =   in.readUTF();
		isSelected = in.readBoolean();
		sourceExpId = in.readInt();
		destinationExpId = in.readInt();
		
	}

	public void writeExternal(ObjectOutput out) throws IOException {
		// TODO Auto-generated method stub
		out.writeUTF(name);
		out.writeUTF(id);
		out.writeBoolean(isSelected);
		out.writeInt(sourceExpId);
		out.writeInt(destinationExpId);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getSourceExpId() {
		return sourceExpId;
	}

	public void setSourceExpId(int sourceExpId) {
		this.sourceExpId = sourceExpId;
	}

	public int getDestinationExpId() {
		return destinationExpId;
	}

	public void setDestinationExpId(int destinationExpId) {
		this.destinationExpId = destinationExpId;
	}

	

	


}

@@ -225,20 +225,23 @@
  String 
-name
+toolTip
  =null;%0D
@@ -375,22 +375,16 @@
 0;%0D%0A%09%09%0D%0A
-%09%0D%0A%09%0D%0A
 %09public 
@@ -393,20 +393,23 @@
 ring get
-Name
+ToolTip
 () %7B%0D%0A%09%09
@@ -415,20 +415,23 @@
 %09return 
-name
+toolTip
 ;%0D%0A%09%7D%0D%0A%0D
@@ -451,20 +451,23 @@
  set
-Name
+ToolTip
 (String 
 name
@@ -462,20 +462,23 @@
 (String 
-name
+toolTip
 ) %7B%0D%0A%09%09t
@@ -485,24 +485,36 @@
 his.
-name = name;%0D%0A%09%7D
+toolTip = toolTip;%0D%0A%09%7D%0D%0A%09%0D%0A%09
 %0D%0A%09%0D
@@ -790,20 +790,23 @@
 stub%0D%0A%09%09
-name
+toolTip
  = in.re
@@ -1074,12 +1074,15 @@
 UTF(
-name
+toolTip
 );%0D%0A
@@ -1634,24 +1634,28 @@
 pId;%0D%0A%09%7D%0D%0A%0D%0A
+%0D%0A%0D%0A
 %09%0D%0A%0D%0A%09%0D%0A%0D%0A%0D%0A

change of member name from name to toolTip