org.sonatype.gossip.model
Class FactoryNode

java.lang.Object
  extended by org.sonatype.gossip.model.Node
      extended by org.sonatype.gossip.model.FactoryNode
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ListenerNode, SourceNode, TriggerNode

public abstract class FactoryNode
extends Node
implements java.io.Serializable

Class FactoryNode.

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

Constructor Summary
FactoryNode()
           
 
Method Summary
 java.lang.Object getConfiguration()
          Get the configuration field.
 java.lang.String getId()
          Get the id field.
 java.lang.String getType()
          Get the type field.
 void setConfiguration(java.lang.Object configuration)
          Set the configuration field.
 void setType(java.lang.Class type)
           
 void setType(java.lang.String type)
          Set the type field.
 java.lang.String toString()
           
 
Methods inherited from class org.sonatype.gossip.model.Node
equals, hashCode, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactoryNode

public FactoryNode()
Method Detail

getConfiguration

public java.lang.Object getConfiguration()
Get the configuration field.

Returns:
Object

getType

public java.lang.String getType()
Get the type field.

Returns:
String

setConfiguration

public void setConfiguration(java.lang.Object configuration)
Set the configuration field.

Parameters:
configuration -

setType

public void setType(java.lang.String type)
Set the type field.

Parameters:
type -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setType

public void setType(java.lang.Class type)

getId

public java.lang.String getId()
Description copied from class: Node
Get the id field.

Overrides:
getId in class Node
Returns:
String


Copyright © 2008-2011 Sonatype. All Rights Reserved.