Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community.widget
Class WidgetDescriptor

java.lang.Object
  extended by com.jivesoftware.community.widget.WidgetDescriptor
All Implemented Interfaces:
Serializable

public class WidgetDescriptor
extends Object
implements Serializable

A simple bean class to store installed Widget information.

See Also:
Serialized Form

Constructor Summary
WidgetDescriptor(long widgetID, String className)
           
 
Method Summary
 boolean equals(Object o)
           
 String getClassName()
          Returns the classname of the widget
 long getInternalID()
          Returns the internal id of the widget
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WidgetDescriptor

public WidgetDescriptor(long widgetID,
                        String className)
Method Detail

getInternalID

public long getInternalID()
Returns the internal id of the widget

Returns:
the internal id of the widget

getClassName

public String getClassName()
Returns the classname of the widget

Returns:
the classname of the widget

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Clearspace Project Page

Copyright © 1999-2007 Jive Software.