2004.04.29


com.jdc.app
Class Copyright

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.lang.SerializableObject
              |
              +--com.jdc.app.Copyright
All Implemented Interfaces:
Serializable

public class Copyright
extends SerializableObject

The application copyright. The Copyright class represents the copyright message text displayed to the user.

Version:
1.0
Author:
Jay Damon
See Also:
Company, Serialized Form

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Constructor Summary
Copyright()
           
 
Method Summary
 Copyright setCompanyName(String companyName)
          Sets the copyright company name.
 Copyright setText(String text)
          Sets the copyright text.
 Copyright setYear(int year)
          Sets the copyright year.
 Copyright setYear(String year)
          Sets the copyright year.
 String toHTML()
          Returns the copyright message as HTML.
 String toString()
          Returns the copyright message as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Copyright

public Copyright()
Method Detail

setCompanyName

public Copyright setCompanyName(String companyName)
Sets the copyright company name.

Returns:
Copyright

setText

public Copyright setText(String text)
Sets the copyright text.

Returns:
Copyright

setYear

public Copyright setYear(int year)
Sets the copyright year.

Returns:
Copyright

setYear

public Copyright setYear(String year)
Sets the copyright year.

Returns:
Copyright

toHTML

public String toHTML()
Returns the copyright message as HTML.

Returns:
String The copyright message.

toString

public String toString()
Returns the copyright message as a String.

Overrides:
toString in class Object
Returns:
String The copyright message.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.