org.opennms.netmgt.model
Class StringPropertyAttribute
java.lang.Object
org.opennms.netmgt.model.StringPropertyAttribute
- All Implemented Interfaces:
- OnmsAttribute
public class StringPropertyAttribute
- extends Object
- implements OnmsAttribute
- Author:
- DJ Gregor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringPropertyAttribute
public StringPropertyAttribute(String name,
String value)
- Parameters:
name - the namevalue - the value
getName
public String getName()
- Get the name for this attribute. This is the property name
from the properties file.
- Specified by:
getName in interface OnmsAttribute
- See Also:
OnmsAttribute.getName()
getValue
public String getValue()
- Get the value for this attribute. This is the property value
from the properties file.
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.