net.sf.tacos.demo.partial
Class Note

java.lang.Object
  extended by net.sf.tacos.demo.partial.Note
All Implemented Interfaces:
Serializable

public class Note
extends Object
implements Serializable

Represents a generic Note.

See Also:
Serialized Form

Constructor Summary
Note()
          Default constructor
Note(Long id, String text)
          Constructor to set id and text
 
Method Summary
 Long getId()
          The id of the note
 String getText()
          Note value
 void setId(Long id)
          Sets the id
 void setText(String text)
          Sets the note value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Note

public Note()
Default constructor


Note

public Note(Long id,
            String text)
Constructor to set id and text

Method Detail

getId

public Long getId()
The id of the note

Returns:

setId

public void setId(Long id)
Sets the id

Parameters:
id -

getText

public String getText()
Note value

Returns:

setText

public void setText(String text)
Sets the note value

Parameters:
text -