KickJava   Java API By Example, From Geeks To Geeks.

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


1 /* $Id: Repository.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 /** Root of the <b>TIR</b> objects. */
6 public interface Repository extends Container {
7   /** Returns your own copy of repository. You can call create_* methods on this work
8       repository. */

9   public WorkRepository beginChanges(ProfileDef p) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
10   /** Returns object for management of repository. */
11   public ManageRepository getManage() throws RemoteException JavaDoc;
12   /** Returns object for management of profiles. */
13   public ManageProfiles getProfiles() throws RemoteException JavaDoc;
14
15   /** get DefinitionKind object with specified kind. For serching purposes. */
16   public DefinitionKind get_spec_def_kind(int kind) throws RemoteException JavaDoc;
17
18   /** Create new identification with given language, name and version. */
19   public Identification create_identification(String JavaDoc lang, String JavaDoc name, String JavaDoc version) throws RemoteException JavaDoc, TIRExceptCreate;
20   /** Create new idetntification with next version from the given id. */
21   public Identification create_nextversion(Identification id) throws RemoteException JavaDoc, TIRExceptCreate;
22   /** Create new idetntification with initial version. */
23   public Identification create_initialversion(String JavaDoc lang, String JavaDoc name) throws RemoteException JavaDoc, TIRExceptCreate;
24   /** Create new identification in the new branch from the given id. */
25   public Identification create_branch(Identification from, String JavaDoc branchTag) throws RemoteException JavaDoc, TIRExceptCreate;
26
27   // next methods create elements of the expressions
28
public ExprBoolean create_exprboolean(boolean val) throws RemoteException JavaDoc, TIRExceptCreate;
29   public ExprShort create_exprshort(short val) throws RemoteException JavaDoc, TIRExceptCreate;
30   public ExprOctet create_exproctet(byte val) throws RemoteException JavaDoc, TIRExceptCreate;
31   public ExprLong create_exprlong(int val) throws RemoteException JavaDoc, TIRExceptCreate;
32   public ExprLongLong create_exprlonglong(long val) throws RemoteException JavaDoc, TIRExceptCreate;
33   public ExprUnsigShort create_exprunsigshort(short val) throws RemoteException JavaDoc, TIRExceptCreate;
34   public ExprUnsigLong create_exprunsiglong(int val) throws RemoteException JavaDoc, TIRExceptCreate;
35   public ExprUnsigLongLong create_exprunsiglonglong(long val) throws RemoteException JavaDoc, TIRExceptCreate;
36   public ExprFloat create_exprfloat(float val) throws RemoteException JavaDoc, TIRExceptCreate;
37   public ExprDouble create_exprdouble(double val) throws RemoteException JavaDoc, TIRExceptCreate;
38   public ExprLongDouble create_exprlongdouble(double val) throws RemoteException JavaDoc, TIRExceptCreate;
39   public ExprFixed create_exprfixed(java.math.BigDecimal JavaDoc val, int digits, int scale) throws RemoteException JavaDoc, TIRExceptCreate;
40   public ExprProperty create_exprproperty(String JavaDoc pr) throws RemoteException JavaDoc, TIRExceptCreate;
41   public ExprEnum create_exprenum(EnumDef en, String JavaDoc enMember) throws RemoteException JavaDoc, TIRExceptCreate, TIRExceptLock;
42   public ExprDefault create_exprdefault() throws RemoteException JavaDoc, TIRExceptCreate;
43   public ExprConstant create_exprconstant(ConstantDef val) throws RemoteException JavaDoc, TIRExceptCreate;
44   public ExprChar create_exprchar(char val) throws RemoteException JavaDoc, TIRExceptCreate;
45   public ExprWchar create_exprwchar(char val) throws RemoteException JavaDoc, TIRExceptCreate;
46   public ExprString create_exprstring(String JavaDoc val) throws RemoteException JavaDoc, TIRExceptCreate;
47   public ExprWstring create_exprwstring(String JavaDoc val) throws RemoteException JavaDoc, TIRExceptCreate;
48   public ExprUnOperationDef create_exprunoperation(int kind, ExprOperDef op) throws RemoteException JavaDoc, TIRExceptCreate;
49   public ExprBinOperationDef create_exprbinoperation(int kind, ExprOperDef op1, ExprOperDef op2) throws RemoteException JavaDoc, TIRExceptCreate;
50   public ValueGen create_valuegen() throws RemoteException JavaDoc, TIRExceptCreate;
51 }
52
Popular Tags