/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ArchivesUI;

/**
 *accessing methods in class
 * @author hollow
 */
public class Edge {
    private int eType, eSource, eDest;

    /**
     * default constructor constructs a edge with all values as zero
     */
    public Edge(){
        eType = 0;
        eSource = 0;
        eDest = 0;
    }
    
    /**
     * constructor creates an edge initialized to given parameters
     * @param t int representing edge type
     * @param s int representing source vert
     * @param d int representing dest vert
     */
    public Edge(int t, int s, int d){
        eType = t;
        eSource = s;
        eDest = d;
    }
    
    /**
     * method to retrieve edge type possibli values are
     * eType,5,SUPER
     * eType,6,SUB
     * eType,7,USES
     * @return int edge type
     */
    public int getType(){
        return eType;
    }
    
    /**
     * method to retrieve source vert
     * @return int representing source vert
     */
    public int getSource(){
        return eSource;
    }
    
    /**
     * method to retrieve dest vert
     * @return int representing dest vert
     */
    public int getDest(){
        return eDest;
    }
    
    
    
    
    
}
