net.anotheria.moskitodemo.guestbook.business.data
Class Comment

java.lang.Object
  extended by net.anotheria.moskitodemo.guestbook.business.data.Comment
All Implemented Interfaces:
Serializable, net.anotheria.util.sorter.IComparable

public class Comment
extends Object
implements Serializable, net.anotheria.util.sorter.IComparable

See Also:
Serialized Form

Constructor Summary
Comment(int anId)
           
 
Method Summary
 int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
           
 boolean equals(Object o)
           
 String getEmail()
           
 String getFirstName()
           
 int getId()
           
 String getLastName()
           
 String getText()
           
 long getTimestamp()
           
 void setEmail(String email)
           
 void setFirstName(String firstName)
           
 void setId(int id)
           
 void setLastName(String lastName)
           
 void setText(String text)
           
 void setWishesUpdates(boolean value)
           
 String toString()
           
 boolean wishesUpdates()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment(int anId)
Method Detail

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getFirstName

public String getFirstName()

setFirstName

public void setFirstName(String firstName)

getLastName

public String getLastName()

setLastName

public void setLastName(String lastName)

getText

public String getText()

setText

public void setText(String text)

toString

public String toString()
Overrides:
toString in class Object

getId

public int getId()

setId

public void setId(int id)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
                     int method)
Specified by:
compareTo in interface net.anotheria.util.sorter.IComparable

getTimestamp

public long getTimestamp()

wishesUpdates

public boolean wishesUpdates()

setWishesUpdates

public void setWishesUpdates(boolean value)


Copyright © 2010-2012 anotheria.net. All Rights Reserved.