2004.04.29


com.jdc.lang
Class Object

java.lang.Object
  |
  +--com.jdc.lang.Object
Direct Known Subclasses:
Boolean, Company, Comparison, CurrencyHelper, DataAccessObject, DatabaseHelper, DatabaseStatus, DataTransferObject, DDLStatus, DecimalHelper, DMLStatus, FileReader, FormField, HashCode, JNDI, LoggingObject, Logical, NameValue, ObjectState, Order, PageAttributes, Path, Schema, SerializableObject, SourceTemplate, SQL, SQLClause, SQLHelper, SQLMessage, SQLStatus, Status, Table, TableCreationObject, Timestamp, Timestamp, TimestampHelper, ToString

public abstract class Object
extends Object

Object is the root of the J. Damon & Co.  Application Architecture (JDA2) Core API (Application Programming Interface) class hierarchy.  Every Core API class has Object as a superclass.  This class extends the root Sun J2SE Object class via a wrapper Object class.

The primary purpose of this class is to provide an ObjectHelper utility class instance that provides basic String manipulation methods to this class and its subclasses. For example, rather than coding the following to test for a non-null, non-blank String value:


 		if (!(stringValue == null) && !(stringValue.trim().equals("")))
		{
			// do something
		}
 
This object helper utility class instance, declared as the protected field named string simplifies the coding as follows:

 		if (string.isValue(stringValue))
		{
			// do something
		}
 
For additional String manipulation methods not provided by the object helper utility class, refer to StringHelper class. It is recommended that you declare a StringHelper class instance as follows:

 		private StringHelper STRING = new StringHelper();
 
Include this declaration in your class to access additional String manipulation methods.

Version:
1.0
Author:
Jay Damon
See Also:
ObjectHelper, StringHelper

Field Summary
protected  ObjectHelper string
          A String helper object.
 
Constructor Summary
Object()
          Constructs a new Object instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

string

protected ObjectHelper string
A String helper object. This String helper object is used to simplify the basic manipulation of String objects in subclasses. For additional String manipulation methods, declare an instance of StringHelper.

Constructor Detail

Object

public Object()
Constructs a new Object instance.


2004.04.29



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