org.ow2.dragon.persistence.bo.deployment
Class Endpoint

java.lang.Object
  extended by org.ow2.dragon.persistence.bo.BaseObject
      extended by org.ow2.dragon.persistence.bo.deployment.Endpoint
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Endpoint>

public class Endpoint
extends BaseObject
implements java.lang.Comparable<Endpoint>

Author:
ofabre - eBM WebSourcing
See Also:
Serialized Form

Constructor Summary
Endpoint()
           
 
Method Summary
 void addRole(PartyToEndpoint role)
           
 int compareTo(Endpoint other)
           
 boolean equals(java.lang.Object other)
          Compares object equality.
 Binding getBinding()
           
 Node getHostNode()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getNetworkAddress()
           
 java.util.Set<PartyToEndpoint> getRoles()
           
 TechnicalService getTechnicalService()
           
 int hashCode()
          When you override equals, you should override hashCode.
 void setBinding(Binding binding)
           
 void setHostNode(Node hostNode)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 void setNetworkAddress(java.lang.String networkAddress)
           
 void setRoles(java.util.Set<PartyToEndpoint> roles)
           
 void setTechnicalService(TechnicalService technicalService)
           
 java.lang.String toString()
          Returns a multi-line String with key=value pairs.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Endpoint

public Endpoint()
Method Detail

getHostNode

public Node getHostNode()

setHostNode

public void setHostNode(Node hostNode)

addRole

public void addRole(PartyToEndpoint role)

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

getBinding

public Binding getBinding()

getId

public java.lang.String getId()
Specified by:
getId in class BaseObject

getName

public java.lang.String getName()

getNetworkAddress

public java.lang.String getNetworkAddress()

getRoles

public java.util.Set<PartyToEndpoint> getRoles()

getTechnicalService

public TechnicalService getTechnicalService()

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

setBinding

public void setBinding(Binding binding)

setId

public void setId(java.lang.String id)
Specified by:
setId in class BaseObject

setName

public void setName(java.lang.String name)

setNetworkAddress

public void setNetworkAddress(java.lang.String networkAddress)

setRoles

public void setRoles(java.util.Set<PartyToEndpoint> roles)

setTechnicalService

public void setTechnicalService(TechnicalService technicalService)

toString

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

Specified by:
toString in class BaseObject
Returns:
a String representation of this class.
See Also:
Object.toString()

compareTo

public int compareTo(Endpoint other)
Specified by:
compareTo in interface java.lang.Comparable<Endpoint>


Copyright © 2008 eBMWebsourcing. All Rights Reserved.