KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > searchengine > util > Edge


1 package org.contineo.searchengine.util;
2
3 /**
4  * Created on 15.11.2004
5  */

6 public class Edge {
7
8     private int thickness;
9     private int id;
10     
11     /**
12      *
13      */

14     public Edge() {
15     }
16
17     public Edge(int thick, int i) {
18         thickness = thick;
19         id = i;
20     }
21     
22     /**
23      * @return Returns the id.
24      * @uml.property name="id"
25      */

26     public int getId() {
27         return id;
28     }
29     
30     /**
31      * @param id The id to set.
32      * @uml.property name="id"
33      */

34     public void setId(int id) {
35         this.id = id;
36     }
37     
38     /**
39      * @return Returns the thickness.
40      * @uml.property name="thickness"
41      */

42     public int getThickness() {
43         return thickness;
44     }
45     
46     /**
47      * @param thickness The thickness to set.
48      * @uml.property name="thickness"
49      */

50     public void setThickness(int thickness) {
51         this.thickness = thickness;
52     }
53 }
54
Popular Tags