org.opennms.netmgt.model
Class ExternalValueAttribute

java.lang.Object
  extended by org.opennms.netmgt.model.ExternalValueAttribute
All Implemented Interfaces:
OnmsAttribute

public class ExternalValueAttribute
extends Object
implements OnmsAttribute

ExternalValueAttribute class.

Version:
$Id: $
Author:
DJ Gregor

Constructor Summary
ExternalValueAttribute(String name, String value)
          Constructor for ExternalValueAttribute.
 
Method Summary
 String getName()
          Get the name for this attribute.
 OnmsResource getResource()
          getResource
 String getValue()
          getValue
 void setResource(OnmsResource resource)
          setResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalValueAttribute

public ExternalValueAttribute(String name,
                              String value)

Constructor for ExternalValueAttribute.

Parameters:
name - a String object.
value - a String object.
Method Detail

getName

public String getName()
Get the name for this attribute. This is the name for this type of external value.

Specified by:
getName in interface OnmsAttribute
Returns:
a String object.
See Also:
OnmsAttribute.getName()

getValue

public String getValue()

getValue

Returns:
a String object.

getResource

public OnmsResource getResource()

getResource

Specified by:
getResource in interface OnmsAttribute
Returns:
a OnmsResource object.
See Also:
OnmsAttribute.getResource()

setResource

public void setResource(OnmsResource resource)

setResource

Specified by:
setResource in interface OnmsAttribute
Parameters:
resource - a OnmsResource object.


Copyright © 2011. All Rights Reserved.