All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.reference.common.NamedObject

java.lang.Object
   |
   +----com.sun.jaw.reference.common.NamedObject

public class NamedObject
extends Object
implements Serializable
This class is used for storing a couple (name, object) where name is an object name and object is a reference to the object.


Constructor Index

 o NamedObject(ObjectName, Object)
Allows a named object to be created.
 o NamedObject(String, Object)
Allows a named object to be created.

Method Index

 o getName()
Gets the object name.
 o getObject()
Gets the object.

Constructors

 o NamedObject
 public NamedObject(ObjectName name,
                    Object object) throws IllegalArgumentException
Allows a named object to be created.

Parameters:
name - The object name of the object.
object - A reference to the object.
Throws: IllegalArgumentException
One of the parameters in the call to the method is invalid.
 o NamedObject
 public NamedObject(String name,
                    Object object) throws IllegalArgumentException
Allows a named object to be created.

Parameters:
name - A string representation of the object name.
object - A reference to the object.
Throws: IllegalArgumentException
One of the parameters in the call to the method is invalid.

Methods

 o getName
 public ObjectName getName()
Gets the object name.

Returns:
The object name.
 o getObject
 public Object getObject()
Gets the object.

Returns:
The object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index