org.datamanager.kernel
Class Simpleton.Information

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton.Information
All Implemented Interfaces:
Serializable
Enclosing class:
Simpleton

public static class Simpleton.Information
extends Object
implements Serializable

Encapsulates information that describes a Simpleton.

Author:
Matthew Farrellee
See Also:
Serialized Form

Field Summary
static String[] DEFAULT_AUTHORS
           
static String DEFAULT_CLASS_LOCATION
           
static String DEFAULT_CLASS_NAME
           
static String DEFAULT_LONG_DESCRIPTION
           
static boolean DEFAULT_RUN_ON_START_STATUS
           
static String DEFAULT_SHORT_DESCRIPTION
           
static String DEFAULT_SIMPLETON_NAME
           
static boolean DEFAULT_USER_INTERFACE_STATUS
           
static String DEFAULT_VERSION
           
static Simpleton.Information NONE
          A default Information object used when a hacker does not want to bother with making a specific Information object.
 
Constructor Summary
Simpleton.Information(String className, String name, String shortDescription, String longDescription, String version, String[] authors, boolean isUserInterface, boolean runOnStartup, String classLocation)
          Creates a new Information object.
 
Method Summary
 String[] getAuthors()
          Gets the names of the authors of this Simpleton.
 String getClassLocation()
          Get the location of this Simpleton's class.
 String getClassName()
          Gets the class name of this Simpleton.
 String getLongDescription()
          Gets the long description of this Simpleton.
 String getName()
          Gets the name of this Simpleton.
 String getShortDescription()
          Gets the short description of this Simpleton.
 String getVersion()
          Gets the version of this Simpleton.
 boolean isUserInterface()
          Determine if this is a User Interface.
 boolean runOnStartup()
          Determine if this should be run on startup.
 void setAuthors(String[] authors)
           
 void setClassLocation(String classLocation)
           
 void setClassName(String className)
           
 void setLongDescription(String longDescription)
           
 void setName(String name)
           
 void setShortDescription(String shortDescription)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CLASS_NAME

public static final String DEFAULT_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_SIMPLETON_NAME

public static final String DEFAULT_SIMPLETON_NAME
See Also:
Constant Field Values

DEFAULT_SHORT_DESCRIPTION

public static final String DEFAULT_SHORT_DESCRIPTION
See Also:
Constant Field Values

DEFAULT_LONG_DESCRIPTION

public static final String DEFAULT_LONG_DESCRIPTION
See Also:
Constant Field Values

DEFAULT_VERSION

public static final String DEFAULT_VERSION
See Also:
Constant Field Values

DEFAULT_AUTHORS

public static final String[] DEFAULT_AUTHORS

DEFAULT_USER_INTERFACE_STATUS

public static final boolean DEFAULT_USER_INTERFACE_STATUS
See Also:
Constant Field Values

DEFAULT_RUN_ON_START_STATUS

public static final boolean DEFAULT_RUN_ON_START_STATUS
See Also:
Constant Field Values

DEFAULT_CLASS_LOCATION

public static final String DEFAULT_CLASS_LOCATION
See Also:
Constant Field Values

NONE

public static final Simpleton.Information NONE
A default Information object used when a hacker does not want to bother with making a specific Information object.

Constructor Detail

Simpleton.Information

public Simpleton.Information(String className,
                             String name,
                             String shortDescription,
                             String longDescription,
                             String version,
                             String[] authors,
                             boolean isUserInterface,
                             boolean runOnStartup,
                             String classLocation)
Creates a new Information object.

Method Detail

setClassName

public void setClassName(String className)

setName

public void setName(String name)

setShortDescription

public void setShortDescription(String shortDescription)

setLongDescription

public void setLongDescription(String longDescription)

setVersion

public void setVersion(String version)

setAuthors

public void setAuthors(String[] authors)

setClassLocation

public void setClassLocation(String classLocation)

getClassName

public String getClassName()
Gets the class name of this Simpleton.


getName

public String getName()
Gets the name of this Simpleton.


getShortDescription

public String getShortDescription()
Gets the short description of this Simpleton.


getLongDescription

public String getLongDescription()
Gets the long description of this Simpleton.


getVersion

public String getVersion()
Gets the version of this Simpleton.


getAuthors

public String[] getAuthors()
Gets the names of the authors of this Simpleton.


isUserInterface

public boolean isUserInterface()
Determine if this is a User Interface.


runOnStartup

public boolean runOnStartup()
Determine if this should be run on startup.


getClassLocation

public String getClassLocation()
Get the location of this Simpleton's class.



See the Helium Website