|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.PluginTypeData
public class PluginTypeData
This class represent an interface that a plugin can implement.
PluginType,
Developer documentation: Plug-ins, jobs and job agents| Field Summary | |
|---|---|
private String |
description
|
private Date |
entryDate
|
private String |
interfaceName
|
private String |
jarFile
|
static int |
MAX_INTERFACENAME_LENGTH
The maximum length of the interface name that can be stored in the database. |
static int |
MAX_JARFILE_LENGTH
|
private String |
name
|
private Set<PluginDefinitionData> |
plugins
|
private boolean |
removed
|
| Fields inherited from interface net.sf.basedb.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
PluginTypeData()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description for the item. |
Date |
getEntryDate()
Get the date this item was added to the database. |
String |
getInterfaceName()
Get the interface name a plugin must implement to be of this type. |
String |
getJarFile()
Get the file name of the JAR file where the plugin class is located. |
String |
getName()
Get the name of the item. |
(package private) Set<PluginDefinitionData> |
getPlugins()
The plugin implementing this interface. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setDescription(String description)
Set the description for the item. |
void |
setEntryDate(Date entryDate)
|
void |
setInterfaceName(String interfaceName)
|
void |
setJarFile(String jarFile)
|
void |
setName(String name)
Set the name of the item. |
(package private) void |
setPlugins(Set<PluginDefinitionData> plugins)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
| Methods inherited from class net.sf.basedb.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
|---|
getId, getVersion |
| Field Detail |
|---|
private String name
private String description
private boolean removed
private Date entryDate
public static final int MAX_INTERFACENAME_LENGTH
private String interfaceName
public static final int MAX_JARFILE_LENGTH
private String jarFile
private Set<PluginDefinitionData> plugins
| 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 Date getEntryDate()
RegisteredData
getEntryDate in interface RegisteredDatapublic void setEntryDate(Date entryDate)
public String getInterfaceName()
Plugin
interface.
public void setInterfaceName(String interfaceName)
public String getJarFile()
public void setJarFile(String jarFile)
Set<PluginDefinitionData> getPlugins()
PluginDefinitionData.getPluginTypes()void setPlugins(Set<PluginDefinitionData> plugins)
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||