org.proteios.core.data
Class GuiContextData
java.lang.Object
org.proteios.core.data.GuiContextData
- All Implemented Interfaces:
- Serializable
public class GuiContextData
- extends Object
- implements Serializable
This is a helper component for the PluginDefinitionData item to
store the contexts where a plugin can be used in a client application.
A context is an item type and context type code. The context type code can currently
take two values: 0 = list; 1 = item
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Plugins ovreview,
Serialized Form
- Last modified
- $Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
GuiContextData
public GuiContextData(int itemType,
int contextType)
getItemType
public int getItemType()
- Hibernate: property
- column="`item_type`" type="int"
getContextType
public int getContextType()
- Hibernate: property
- column="`context_type`" type="int"
equals
public boolean equals(Object o)
- Check if this object is equal to another
GuiContext
object. They are equal if both have the same item type and context type
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Calculate the hash code for the object.
- Overrides:
hashCode in class Object