com.alee.managers.plugin.data
Class PluginLibrary

java.lang.Object
  extended by com.alee.managers.plugin.data.PluginLibrary
All Implemented Interfaces:
java.io.Serializable

public class PluginLibrary
extends java.lang.Object
implements java.io.Serializable

Plugin library information data class.

Author:
Mikle Garin
See Also:
How to use PluginManager, PluginManager, Serialized Form

Constructor Summary
PluginLibrary()
          Constructs new plugin library information data object.
PluginLibrary(java.lang.String id, java.lang.String title, java.lang.String description, java.lang.String version, java.lang.String file)
          Constructs new plugin library information data object with the specified values.
 
Method Summary
 java.lang.String getDescription()
          Returns plugin library description.
 java.lang.String getFile()
          Returns plugin library file path relative to plugin file location.
 java.lang.String getId()
          Returns plugin library ID.
 java.lang.String getTitle()
          Returns plugin library title.
 java.lang.String getVersion()
          Returns plugin library version.
 void setDescription(java.lang.String description)
          Sets plugin library description.
 void setFile(java.lang.String file)
          Sets plugin library file path relative to plugin file location.
 void setId(java.lang.String id)
          Sets plugin library ID.
 void setTitle(java.lang.String title)
          Sets plugin library title.
 void setVersion(java.lang.String version)
          Sets plugin library version.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginLibrary

public PluginLibrary()
Constructs new plugin library information data object.


PluginLibrary

public PluginLibrary(java.lang.String id,
                     java.lang.String title,
                     java.lang.String description,
                     java.lang.String version,
                     java.lang.String file)
Constructs new plugin library information data object with the specified values.

Parameters:
id - application-wide unique library ID
title - library title
description - library description
version - library version
file - library file path
Method Detail

getId

public java.lang.String getId()
Returns plugin library ID.

Returns:
plugin library ID

setId

public void setId(java.lang.String id)
Sets plugin library ID.

Parameters:
id - new plugin library ID

getTitle

public java.lang.String getTitle()
Returns plugin library title.

Returns:
plugin library title

setTitle

public void setTitle(java.lang.String title)
Sets plugin library title.

Parameters:
title - new plugin library title

getDescription

public java.lang.String getDescription()
Returns plugin library description.

Returns:
plugin library description

setDescription

public void setDescription(java.lang.String description)
Sets plugin library description.

Parameters:
description - new plugin library description

getVersion

public java.lang.String getVersion()
Returns plugin library version.

Returns:
plugin library version

setVersion

public void setVersion(java.lang.String version)
Sets plugin library version.

Parameters:
version - new plugin library version

getFile

public java.lang.String getFile()
Returns plugin library file path relative to plugin file location.

Returns:
plugin library file path relative to plugin file location

setFile

public void setFile(java.lang.String file)
Sets plugin library file path relative to plugin file location.

Parameters:
file - new plugin library file path

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object