ORCentral

src/eu/coform/implementation/ORImplementation.java

Go to the documentation of this file.
00001 package eu.coform.implementation;
00002 
00003 import eu.coform.*;
00009 public class ORImplementation {
00010    static private ORImplementation singleton = new ORImplementation();
00011 
00012    
00013    static public  ORImplementation the() { return singleton; }
00014 
00021    public void          f_void       (int n, Object... p) { }
00028    public boolean       f_boolean    (int n, Object... p) { /* REPLACEME */ return false; }
00035    public int           f_int        (int n, Object... p) { /* REPLACEME */ return 0; }
00042    public String        f_String     (int n, Object... p) { /* REPLACEME */ return "hallo"; }
00043    
00050    public Dataset       f_Dataset    (int n, Object... p) { /* REPLACEME */ return new Dataset(); }
00057    public Dataset[]     f_DatasetA   (int n, Object... p) { /* REPLACEME */ return new Dataset[0]; }
00064    public Filestatus    f_Filestatus (int n, Object... p) { /* REPLACEME */ return new Filestatus(); }
00071    public Filestatus[]  f_FilestatusA(int n, Object... p) { /* REPLACEME */ return new Filestatus[0]; }
00078    public Filestruct    f_Filestruct (int n, Object... p) { /* REPLACEME */ return new Filestruct(); }
00085    public Filestruct[]  f_FilestructA(int n, Object... p) { /* REPLACEME */ return new Filestruct[0]; }
00092    public Group         f_Group      (int n, Object... p) { /* REPLACEME */ return new Group(); }
00099    public Group[]       f_GroupA     (int n, Object... p) { /* REPLACEME */ return new Group[0]; }
00106    public Location      f_Location   (int n, Object... p) { /* REPLACEME */ return new Location(); }
00113    public Location[]    f_LocationA  (int n, Object... p) { /* REPLACEME */ return new Location[0]; }
00120    public Mimetype      f_Mimetype   (int n, Object... p) { /* REPLACEME */ return new Mimetype(); }
00127    public Mimetype[]    f_MimetypeA  (int n, Object... p) { /* REPLACEME */ return new Mimetype[0]; }
00128 // public Session       f_Session    (int n, Object... p) { /* REPLACEME */ return new Session(); }
00129    
00136    public Software[]    f_SoftwareA  (int n, Object... p) { /* REPLACEME */ return new Software[0]; }
00143    public User          f_User       (int n, Object... p) { /* REPLACEME */ return new User(); }
00150    public User[]        f_UserA      (int n, Object... p) { /* REPLACEME */ return new User[0]; }
00157    public Usergroup     f_Usergroup  (int n, Object... p) { /* REPLACEME */ return new Usergroup(); }
00158    
00165    public Usergroup[]   f_UsergroupA (int n, Object... p) { /* REPLACEME */ return new Usergroup[0]; }
00166    
00173    public Session       f_Session    (int n, Object... p) {
00174       UniqueID g = new UniqueID();
00175       g.setRandomUUID();
00176       
00177 // try this if you do not believe it works!
00178 // (it should throw a 10106 at the client side!!!)
00179 //    g.setID("simsalabim");
00180       
00181       Session s = new Session();
00182       s.setSessionID(g);
00183       return s;      
00184    }
00185 }
 All Classes Namespaces Files Functions Variables Enumerations