Package org.opennms.netmgt.model
Class ExternalValueAttribute
- java.lang.Object
-
- org.opennms.netmgt.model.ExternalValueAttribute
-
- All Implemented Interfaces:
OnmsAttribute
public class ExternalValueAttribute extends java.lang.Object implements OnmsAttribute
ExternalValueAttribute class.
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description ExternalValueAttribute(java.lang.String name, java.lang.String value)
Constructor for ExternalValueAttribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Get the name for this attribute.OnmsResource
getResource()
getResourcejava.lang.String
getValue()
getValuevoid
setResource(OnmsResource resource)
setResource
-
-
-
Method Detail
-
getName
public java.lang.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()
-
getValue
public java.lang.String getValue()
getValue
- Returns:
- a
String
object.
-
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.
-
-