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

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.common.LinkedEntity
              extended by org.ow2.dragon.persistence.bo.common.CommunityObj
                  extended by org.ow2.dragon.persistence.bo.deployment.Endpoint
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Endpoint>

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

Author:
ofabre - eBM WebSourcing
See Also:
Serialized Form

Constructor Summary
Endpoint()
           
 
Method Summary
 void addDescription(Description description)
           
 void addServiceSpec(ServiceSpecification serviceSpecification)
           
 int compareTo(Endpoint other)
           
 boolean equals(java.lang.Object other)
          Compares object equality.
 Binding getBinding()
           
 CategoryBag getCategoryBag()
           
 java.util.List<Description> getDescriptions()
           
 Node getHostNode()
           
 java.lang.String getName()
           
 java.lang.String getNetworkAddress()
           
 java.util.Set<ServiceSpecification> getServiceSpecifications()
           
 TechnicalService getTechnicalService()
           
 int hashCode()
          When you override equals, you should override hashCode.
 void setBinding(Binding binding)
           
 void setCategoryBag(CategoryBag categoryBag)
           
 void setDescriptions(java.util.List<Description> descriptions)
           
 void setHostNode(Node hostNode)
           
 void setName(java.lang.String name)
           
 void setNetworkAddress(java.lang.String networkAddress)
           
 void setServiceSpecifications(java.util.Set<ServiceSpecification> serviceSpecifications)
           
 void setTechnicalService(TechnicalService technicalService)
           
 java.lang.String toString()
          Returns a multi-line String with key=value pairs.
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.CommunityObj
addComment, getComments, getRatings, getTags, isTagged, setComments, setRatings, setTags
 
Methods inherited from class org.ow2.dragon.persistence.bo.common.LinkedEntity
addFromLink, addToLink, getFromLinks, getToLinks, setFromLinks, setToLinks
 
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

Endpoint

public Endpoint()
Method Detail

addDescription

public void addDescription(Description description)

addServiceSpec

public void addServiceSpec(ServiceSpecification serviceSpecification)

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 LinkedEntity
Parameters:
other - object to compare to
Returns:
true/false based on equality tests

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 CommunityObj
Returns:
hashCode

getHostNode

public Node getHostNode()

setHostNode

public void setHostNode(Node hostNode)

getBinding

public Binding getBinding()

getName

public java.lang.String getName()

getNetworkAddress

public java.lang.String getNetworkAddress()

getTechnicalService

public TechnicalService getTechnicalService()

setBinding

public void setBinding(Binding binding)

setName

public void setName(java.lang.String name)

setNetworkAddress

public void setNetworkAddress(java.lang.String networkAddress)

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.

Overrides:
toString in class LinkedEntity
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>

getDescriptions

public java.util.List<Description> getDescriptions()

setDescriptions

public void setDescriptions(java.util.List<Description> descriptions)

getCategoryBag

public CategoryBag getCategoryBag()

setCategoryBag

public void setCategoryBag(CategoryBag categoryBag)

getServiceSpecifications

public java.util.Set<ServiceSpecification> getServiceSpecifications()

setServiceSpecifications

public void setServiceSpecifications(java.util.Set<ServiceSpecification> serviceSpecifications)


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.