|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qsos.data.Sheet
public class Sheet
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.
Constructor Summary | |
---|---|
Sheet()
Constructor which instanciate the name and the root element; |
|
Sheet(IElement root)
Constructor which instanciate the root element at the given value. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sheet()
public Sheet(IElement root)
root
- the root to set.Method Detail |
---|
public IElement getRoot()
getRoot
in interface ISheet
public void setRoot(IElement root)
setRoot
in interface ISheet
root
- the root to set.public long getId()
getId
in interface ISheet
public void setId(long id)
setId
in interface ISheet
id
- the id to set.public java.lang.String getName()
getName
in interface ISheet
public void setName(java.lang.String name)
setName
in interface ISheet
name
- a string which represents the name to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |