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

java.lang.Object
  extended by org.ow2.dragon.persistence.bo.BaseObject
      extended by org.ow2.dragon.persistence.bo.organization.RoleOfParty
          extended by org.ow2.dragon.persistence.bo.organization.PartyToEndpoint
All Implemented Interfaces:
java.io.Serializable

public class PartyToEndpoint
extends RoleOfParty

Author:
ofabre - eBM WebSourcing
See Also:
Serialized Form

Constructor Summary
PartyToEndpoint()
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares object equality.
 Endpoint getEndpoint()
           
 int hashCode()
          When you override equals, you should override hashCode.
 void setEndpoint(Endpoint endpoint)
           
 java.lang.String toString()
          Returns a multi-line String with key=value pairs.
 
Methods inherited from class org.ow2.dragon.persistence.bo.organization.RoleOfParty
getId, getParty, getType, setId, setParty, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartyToEndpoint

public PartyToEndpoint()
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.

Overrides:
equals in class RoleOfParty
Parameters:
other - object to compare to
Returns:
true/false based on equality tests

getEndpoint

public Endpoint getEndpoint()

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

Overrides:
hashCode in class RoleOfParty
Returns:
hashCode

setEndpoint

public void setEndpoint(Endpoint endpoint)

toString

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

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


Copyright © 2008 eBMWebsourcing. All Rights Reserved.