|
2.9.1: 2008-12-18 | ||||||||
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
,
PluginsField Summary | |
---|---|
private String |
description
|
private String |
interfaceName
|
private String |
jarPath
|
static int |
MAX_INTERFACENAME_LENGTH
The maximum length of the interface name that can be stored in the database. |
static int |
MAX_JARPATH_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. |
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. |
(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 |
setInterfaceName(String interfaceName)
|
void |
setJarPath(String jarPath)
|
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
public static final int MAX_INTERFACENAME_LENGTH
private String interfaceName
public static final int MAX_JARPATH_LENGTH
private String jarPath
private Set<PluginDefinitionData> plugins
Constructor Detail |
---|
public PluginTypeData()
Method Detail |
---|
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.
setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.
setDescription
in interface NameableData
description
- The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- 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)
Set<PluginDefinitionData> getPlugins()
PluginDefinitionData.getPluginTypes()
void setPlugins(Set<PluginDefinitionData> plugins)
|
2.9.1: 2008-12-18 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |