|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.data.BasicData
org.proteios.core.data.PluginTypeData
public class PluginTypeData
This class represent an interface that a plugin can implement.
PluginType,
Plugins| Field Summary | |
|---|---|
static int |
MAX_INTERFACENAME_LENGTH
The maximum length of the interface name that can be stored in the database. |
static int |
MAX_JARPATH_LENGTH
|
| Fields inherited from interface org.proteios.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
PluginTypeData()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description for the item. |
String |
getInterfaceName()
Get the interface name a plugin must implement to be of this type. |
String |
getJarPath()
Get the path to the JAR file where the interface class is located. |
String |
getName()
Get the name of the item. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setDescription(String description)
Set the description for the item. |
void |
setInterfaceName(String interfaceName)
|
void |
setJarPath(String jarPath)
|
void |
setName(String name)
Set the name of the item. |
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
| Methods inherited from class org.proteios.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.proteios.core.data.IdentifiableData |
|---|
getId, getVersion |
| Field Detail |
|---|
public static final int MAX_INTERFACENAME_LENGTH
public static final int MAX_JARPATH_LENGTH
| Constructor Detail |
|---|
public PluginTypeData()
| Method Detail |
|---|
public String getName()
NameableData
getName in interface NameableDataString with the name of the itempublic void setName(String name)
NameableDataMAX_NAME_LENGTH constant.
setName in interface NameableDataname - The new name for the itempublic String getDescription()
NameableData
getDescription in interface NameableDataString with a description of the itempublic void setDescription(String description)
NameableDataMAX_DESCRIPTION_LENGTH constant.
setDescription in interface NameableDatadescription - The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved in interface RemovableDatapublic void setRemoved(boolean removed)
RemovableData
setRemoved in interface RemovableDataremoved - TRUE if the item should be flagged as removed,
FALSE otherwisepublic String getInterfaceName()
Plugin
interface.
public void setInterfaceName(String interfaceName)
public String getJarPath()
public void setJarPath(String jarPath)
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||