org.ow2.dragon.persistence.bo.technology
Class Node

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.technology.Node
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExecutionEnvironment, Processor

public class Node
extends SearchableBaseObject

Author:
ofabre - eBM Websourcing
See Also:
Serialized Form

Constructor Summary
Node()
           
 
Method Summary
 void addEndpoint(Endpoint endpoint)
           
 boolean equals(java.lang.Object other)
          Compares object equality.
 java.util.Set<Endpoint> getEndpoints()
           
 int getExpectedQuantity()
           
 java.lang.String getIpv4Address()
           
 ExecutionEnvironmentManager getManager()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 int hashCode()
          When you override equals, you should override hashCode.
 boolean isPrototypical()
           
 void setEndpoints(java.util.Set<Endpoint> endpoints)
           
 void setExpectedQuantity(int expectedQuantity)
           
 void setIpv4Address(java.lang.String ipv4Address)
           
 void setManager(ExecutionEnvironmentManager manager)
           
 void setName(java.lang.String name)
           
 void setPrototypical(boolean isPrototypical)
           
 void setType(java.lang.String type)
           
 java.lang.String toString()
          Returns a multi-line String with key=value pairs.
 
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

Node

public Node()
Method Detail

getEndpoints

public java.util.Set<Endpoint> getEndpoints()

setEndpoints

public void setEndpoints(java.util.Set<Endpoint> endpoints)

addEndpoint

public void addEndpoint(Endpoint endpoint)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

isPrototypical

public boolean isPrototypical()

setPrototypical

public void setPrototypical(boolean isPrototypical)

getExpectedQuantity

public int getExpectedQuantity()

setExpectedQuantity

public void setExpectedQuantity(int expectedQuantity)

getIpv4Address

public java.lang.String getIpv4Address()

setIpv4Address

public void setIpv4Address(java.lang.String ipv4Address)

getManager

public ExecutionEnvironmentManager getManager()

setManager

public void setManager(ExecutionEnvironmentManager manager)

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

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

toString

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

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


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.