org.ow2.dragon.persistence.bo.deployment
Class Endpoint
java.lang.Object
org.ow2.dragon.persistence.bo.common.BaseObject
org.ow2.dragon.persistence.bo.common.SearchableBaseObject
org.ow2.dragon.persistence.bo.common.LinkedEntity
org.ow2.dragon.persistence.bo.common.CommunityObj
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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Endpoint
public Endpoint()
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.