org.objectweb.fractal.gui
Class UserDataStorage.UFProject

java.lang.Object
  extended byorg.objectweb.fractal.gui.UserDataStorage.UFProject
All Implemented Interfaces:
UserData.FProject
Enclosing class:
UserDataStorage

public class UserDataStorage.UFProject
extends java.lang.Object
implements UserData.FProject


Constructor Summary
UserDataStorage.UFProject()
           
 
Method Summary
 int getId()
          get the id of the project
 java.lang.String getStringData(int typ)
          get the int value for a given type.
 void setId(int i)
          set the id for the project
 void setStringData(int typ, java.lang.String s)
          set the value for a given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDataStorage.UFProject

public UserDataStorage.UFProject()
Method Detail

setId

public void setId(int i)
set the id for the project

Specified by:
setId in interface UserData.FProject
Parameters:
i - is the Data type.

getId

public int getId()
get the id of the project

Specified by:
getId in interface UserData.FProject
Returns:
the identifier of the FProject.

setStringData

public void setStringData(int typ,
                          java.lang.String s)
set the value for a given type. The type must belong to the LAST_ family type.

Specified by:
setStringData in interface UserData.FProject
Parameters:
typ - is the Data type.
s - is the String value for the type.

getStringData

public java.lang.String getStringData(int typ)
get the int value for a given type. The type must belong to the LAST_ family type or else an Exception is thrown.

Specified by:
getStringData in interface UserData.FProject
Parameters:
typ - is the Data type.