org.qsos.data
Interface ISheet

All Known Implementing Classes:
Sheet

public interface ISheet

A sheet is a class which represents an xml document. It contains an IElement which is the root of the xml document in the java modelisation.

It also contains a property id which is the id in data base and a name for clarity since we can find it in the IELements.

Author:
Arthur Clerfeuille

Method Summary
 long getId()
          Allow to get the id of the sheet.
 java.lang.String getName()
          Allow to get the name of the sheet.
 IElement getRoot()
          Allow to get the root element.
 void setId(long id)
          Allow to set the id.
 void setName(java.lang.String name)
          Allow to set the name of the sheet.
 void setRoot(IElement root)
          Allow to set the root element
 

Method Detail

getRoot

IElement getRoot()
Allow to get the root element.

Returns:
root the root element of the sheet.

setRoot

void setRoot(IElement root)
Allow to set the root element

Parameters:
root - the root to set.

getId

long getId()
Allow to get the id of the sheet.

Returns:
id a long which represents the id of the sheet.

setId

void setId(long id)
Allow to set the id.

Parameters:
id - the id to set.

getName

java.lang.String getName()
Allow to get the name of the sheet.

Returns:
name a string which represents the name of the sheet.

setName

void setName(java.lang.String name)
Allow to set the name of the sheet.

Parameters:
name - a string which represents the name to set.