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.
-
NamedObject(ObjectName, Object)
- Allows a named object to be created.
-
NamedObject(String, Object)
- Allows a named object to be created.
-
getName()
- Gets the object name.
-
getObject()
- Gets the object.
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.
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.
getName
public ObjectName getName()
- Gets the object name.
- Returns:
- The object name.
getObject
public Object getObject()
- Gets the object.
- Returns:
- The object.
All Packages Class Hierarchy This Package Previous Next Index