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

Author:
DJ Gregor

Constructor Summary
ExternalValueAttribute(String name, String value)
           
 
Method Summary
 String getName()
          Get the name for this attribute.
 OnmsResource getResource()
           
 String getValue()
           
 void setResource(OnmsResource resource)
           
 
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)
Parameters:
string -
string2 -
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
See Also:
OnmsAttribute.getName()

getValue

public String getValue()

getResource

public OnmsResource getResource()
Specified by:
getResource in interface OnmsAttribute
See Also:
OnmsAttribute.getResource()

setResource

public void setResource(OnmsResource resource)
Specified by:
setResource in interface OnmsAttribute
See Also:
OnmsAttribute.setResource(org.opennms.netmgt.model.OnmsResource)


Copyright © 2009. All Rights Reserved.