View Javadoc

1   
2   package javax.agent;
3   
4   import java.io.*;
5   
6   public class Identifier implements Serializable {
7       private Name name;
8       private String location;
9   
10      public Identifier(Name name, String location) {
11  	    this.location = location;
12  	    this.name = name; 
13      }
14  
15      public String getLocation() {
16  	    return location;
17      }
18  
19      public String toString() {
20  	    return location;
21      }
22      
23      public Name getName () { 
24          return name; 
25      }
26      
27          
28  }