2.17.2: 2011-06-17

net.sf.basedb.util.extensions
Class AboutBean

java.lang.Object
  extended by net.sf.basedb.util.extensions.AboutBean
All Implemented Interfaces:
About

public class AboutBean
extends Object
implements About

An implementation of the About interface, which complements all getter methods with setter methods.

Version:
2.7
Author:
nicklas
Last modified
$Date:2008-03-20 12:15:25 +0100 (Thu, 20 Mar 2008) $

Field Summary
private  String contact
           
private  String copyright
           
private  String description
           
private  String email
           
private  String name
           
private  String url
           
private  String version
           
 
Fields inherited from interface net.sf.basedb.core.plugin.About
MAX_INFORMATION_LENGTH
 
Constructor Summary
AboutBean()
          Create a new empty about instance.
 
Method Summary
 void copy(About from, boolean overwrite)
          Copy information from antoher About object to this one.
 String getContact()
          Contact information to get more information about the plugin.
 String getCopyright()
          A copyright notice.
 String getDescription()
          A description of the plugin and what it does.
 String getEmail()
          An email adress to get more information about the plugin.
 String getName()
          The name of the plugin.
 String getUrl()
          An URL to get more information about the plugin.
 String getVersion()
          The version of the plugin software.
 void setContact(String contact)
           
 void setCopyright(String copyright)
           
 void setDescription(String description)
           
 void setEmail(String email)
           
 void setName(String name)
           
 void setUrl(String url)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name

description

private String description

version

private String version

copyright

private String copyright

contact

private String contact

email

private String email

url

private String url
Constructor Detail

AboutBean

public AboutBean()
Create a new empty about instance.

Method Detail

getContact

public String getContact()
Description copied from interface: About
Contact information to get more information about the plugin. May return null.

Specified by:
getContact in interface About

setContact

public void setContact(String contact)

getCopyright

public String getCopyright()
Description copied from interface: About
A copyright notice. May return null.

Specified by:
getCopyright in interface About

setCopyright

public void setCopyright(String copyright)

getDescription

public String getDescription()
Description copied from interface: About
A description of the plugin and what it does. May return null.

Specified by:
getDescription in interface About

setDescription

public void setDescription(String description)

getEmail

public String getEmail()
Description copied from interface: About
An email adress to get more information about the plugin. May return null.

Specified by:
getEmail in interface About

setEmail

public void setEmail(String email)

getName

public String getName()
Description copied from interface: About
The name of the plugin. Mustn't return null.

Specified by:
getName in interface About

setName

public void setName(String name)

getUrl

public String getUrl()
Description copied from interface: About
An URL to get more information about the plugin. May return null.

Specified by:
getUrl in interface About

setUrl

public void setUrl(String url)

getVersion

public String getVersion()
Description copied from interface: About
The version of the plugin software. May return null.

Specified by:
getVersion in interface About

setVersion

public void setVersion(String version)

copy

public void copy(About from,
                 boolean overwrite)
Copy information from antoher About object to this one.

Parameters:
from - The object to copy from
overwrite - TRUE copy all values, FALSE to only copy if the existing value is null

2.17.2: 2011-06-17