KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > TIR > Container


1 /* $Id: Container.java,v 1.1.1.1 2003/02/11 16:19:41 bures Exp $ */
2 package SOFA.SOFAnode.Made.TIR;
3 import java.rmi.RemoteException JavaDoc;
4
5 /** The base interface <i>Container</i> is extended by all <b>TIR</b> objects that
6     contain other <b>TIR</b> objects.
7 */

8 public interface Container extends TIRObject {
9   /** Search object with this identification in this conatiner. */
10   public Contained lookup(Identification id) throws RemoteException JavaDoc, TIRExceptLock;
11   /** Search object with this name and version in this conatiner. */
12   public Contained lookup(String JavaDoc name, String JavaDoc version) throws RemoteException JavaDoc, TIRExceptLock;
13   /** Search objects with same name, they haven't to have same version. */
14   public Contained[] lookup_name(Identification id) throws RemoteException JavaDoc, TIRExceptLock;
15   /** Search objects with same name, they haven't to have same version. */
16   public Contained[] lookup_name(String JavaDoc name) throws RemoteException JavaDoc, TIRExceptLock;
17   /** Returns all objects with specified kind in this container. */
18   public Contained[] contents(DefinitionKind type) throws RemoteException JavaDoc, TIRExceptLock;
19
20   /** Search objects with specified tag this container. */
21   public Contained lookup_tag(String JavaDoc name, String JavaDoc tag) throws RemoteException JavaDoc, TIRExceptLock;
22   /** Search objects from same branch this container.
23       (if (brtag==null || brtag=="") search in main branch. */

24   public Contained[] lookup_branchtag(String JavaDoc name, String JavaDoc brtag) throws RemoteException JavaDoc, TIRExceptLock;
25   /** Search object with this name, which is last version in specified branch.
26       (if (brtag==null || brtag=="") search in main branch. */

27   public Contained lookup_lastinbranch(String JavaDoc name, String JavaDoc brtag) throws RemoteException JavaDoc, TIRExceptLock;
28   /** Search object with this name, which is last version in branch, in
29       which is object with this version */

30   public Contained lookup_lastfromversion(String JavaDoc name, String JavaDoc version) throws RemoteException JavaDoc, TIRExceptLock;
31 }
32
Popular Tags