org.opennms.report.datablock
Class StandardNamedObject

java.lang.Object
  extended by org.opennms.report.datablock.StandardNamedObject
Direct Known Subclasses:
Interface, Node, Service

public class StandardNamedObject
extends Object

This class gives a name to the object.

Author:
Jacinta Remedios , oculan.com

Constructor Summary
StandardNamedObject()
          Default Constructor.
StandardNamedObject(String name)
          Constructor.
 
Method Summary
 String getName()
          Return the name
 void setName(String name)
          Set the name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardNamedObject

public StandardNamedObject()
Default Constructor.


StandardNamedObject

public StandardNamedObject(String name)
Constructor.

Method Detail

setName

public void setName(String name)
Set the name

Parameters:
name - The name to be set.

getName

public String getName()
Return the name

Returns:
the name.


Copyright © 2009. All Rights Reserved.