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.lang.String getResourcesUuidType()
           
 java.util.Set<ServiceSpecification> getServiceSpecifications()
           
 java.lang.String getSubscriptionAddr()
           
 TechnicalService getTechnicalService()
           
 int hashCode()
          When you override equals, you should override hashCode.
 boolean isSubscription()
           
 boolean isWsdmMonitoring()
           
 void removeServiceSpec(ServiceSpecification serviceSpecification)
           
 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 setResourcesUuidType(java.lang.String resourcesUuidType)
           
 void setServiceSpecifications(java.util.Set<ServiceSpecification> serviceSpecifications)
           
 void setSubscription(boolean subscription)
           
 void setSubscriptionAddr(java.lang.String subscriptionAddr)
           
 void setTechnicalService(TechnicalService technicalService)
           
 void setWsdmMonitoring(boolean wsdmMonitoring)
           
 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, removeFromLink, removeToLink, 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)

removeServiceSpec

public void removeServiceSpec(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)

isWsdmMonitoring

public boolean isWsdmMonitoring()

setWsdmMonitoring

public void setWsdmMonitoring(boolean wsdmMonitoring)

isSubscription

public boolean isSubscription()

setSubscription

public void setSubscription(boolean subscription)

getSubscriptionAddr

public java.lang.String getSubscriptionAddr()

setSubscriptionAddr

public void setSubscriptionAddr(java.lang.String subscriptionAddr)

getResourcesUuidType

public java.lang.String getResourcesUuidType()
Returns:
the resourcesUuidType

setResourcesUuidType

public void setResourcesUuidType(java.lang.String resourcesUuidType)
Parameters:
resourcesUuidType - the resourcesUuidType to set


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.