org.ow2.dragon.persistence.bo.organization
Class Post

java.lang.Object
  extended by org.ow2.dragon.persistence.bo.common.BaseObject
      extended by org.ow2.dragon.persistence.bo.common.SearchableBaseObject
          extended by org.ow2.dragon.persistence.bo.organization.Post
All Implemented Interfaces:
java.io.Serializable

public class Post
extends SearchableBaseObject

Author:
ofabre - eBM WebSourcing
See Also:
Serialized Form

Constructor Summary
Post()
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares object equality.
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getNature()
           
 int hashCode()
          When you override equals, you should override hashCode.
 boolean isContact()
           
 void setContact(boolean contact)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setNature(java.lang.String nature)
           
 java.lang.String toString()
          Returns a multi-line String with key=value pairs.
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.SearchableBaseObject
getId, setId
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.BaseObject
getCreated, getLastUpdated, setCreated, setLastUpdated
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Post

public Post()
Method Detail

equals

public boolean equals(java.lang.Object other)
Description copied from class: BaseObject
Compares object equality. When using Hibernate, the primary key should not be a part of this comparison.

Specified by:
equals in class BaseObject
Parameters:
other - object to compare to
Returns:
true/false based on equality tests

getDescription

public java.lang.String getDescription()

getName

public java.lang.String getName()

getNature

public java.lang.String getNature()

hashCode

public int hashCode()
Description copied from class: BaseObject
When you override equals, you should override hashCode. See "Why are equals() and hashCode() importation" for more information: http://www.hibernate.org/109.html

Specified by:
hashCode in class BaseObject
Returns:
hashCode

setDescription

public void setDescription(java.lang.String description)

setName

public void setName(java.lang.String name)

setNature

public void setNature(java.lang.String nature)

toString

public java.lang.String toString()
Description copied from class: BaseObject
Returns a multi-line String with key=value pairs.

Overrides:
toString in class SearchableBaseObject
Returns:
a String representation of this class.
See Also:
Object.toString()

isContact

public boolean isContact()

setContact

public void setContact(boolean contact)


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.