Package org.opennms.netmgt.model
Class ExternalValueAttribute
- java.lang.Object
-
- 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
Constructors Constructor Description ExternalValueAttribute(String name, String value)
Constructor for ExternalValueAttribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name for this attribute.OnmsResource
getResource()
getResourceString
getValue()
getValuevoid
setResource(OnmsResource resource)
setResource
-
-
-
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 interfaceOnmsAttribute
- Returns:
- a
String
object. - See Also:
OnmsAttribute.getName()
-
getResource
public OnmsResource getResource()
getResource
- Specified by:
getResource
in interfaceOnmsAttribute
- Returns:
- a
OnmsResource
object. - See Also:
OnmsAttribute.getResource()
-
setResource
public void setResource(OnmsResource resource)
setResource
- Specified by:
setResource
in interfaceOnmsAttribute
- Parameters:
resource
- aOnmsResource
object.
-
-