org.sonatype.gossip.model
Class Node

java.lang.Object
  extended by org.sonatype.gossip.model.Node
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FactoryNode, LoggerNode, ProfileNode

public abstract class Node
extends Object
implements Serializable

Class Node.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Node()
           
 
Method Summary
 boolean equals(Object target)
           
 String getId()
          Get the id field.
 int hashCode()
           
 void setId(String id)
          Set the id field.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node()
Method Detail

getId

public String getId()
Get the id field.

Returns:
String

setId

public void setId(String id)
Set the id field.

Parameters:
id -

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object target)
Overrides:
equals in class Object


Copyright © 2008-2011 Sonatype. All Rights Reserved.