org.objectweb.fractal.gui
Interface UserData.FProject

All Known Implementing Classes:
UserDataStorage.UFProject
Enclosing interface:
UserData

public static interface UserData.FProject


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 id)
          set the id for the project
 void setStringData(int typ, java.lang.String s)
          set the value for a given type.
 

Method Detail

setId

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

Parameters:
id - is the Data type.

getId

public int getId()
get the id of the project

Returns:
the identifier of the FRroject.

setStringData

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

Parameters:
typ - is the Data type.
Throws:
java.lang.Exception

getStringData

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

Parameters:
typ - is the Data type.
Throws:
java.lang.Exception