1 /* $Id*/ 2 package SOFA.SOFAnode.Made.TIR; 3 import java.rmi.Remote; 4 import java.rmi.RemoteException; 5 6 /** Represent absolute name of objects in repository */ 7 public interface AbsoluteName extends Remote { 8 /** AbsoluteName without last element */ 9 public AbsoluteName parent() throws RemoteException; 10 /** String representation of AbsoluteName */ 11 public String name() throws RemoteException; 12 /** number of elements of path */ 13 public int size() throws RemoteException; 14 /** i-th element (first == 0) */ 15 public String elementAt(int i) throws RemoteException; 16 /** test, if two absolute names are equal */ 17 public boolean isEqual(AbsoluteName an) throws RemoteException; 18 } 19