public class StringPropertyAttribute extends Object implements OnmsAttribute
StringPropertyAttribute class.
Constructor and Description |
---|
StringPropertyAttribute(String name,
String value)
Constructor for StringPropertyAttribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
Get the name for this attribute.
|
OnmsResource |
getResource()
getResource
|
String |
getValue()
Get the value for this attribute.
|
int |
hashCode() |
void |
setResource(OnmsResource resource)
setResource
|
public String getName()
getName
in interface OnmsAttribute
String
object.OnmsAttribute.getName()
public String getValue()
String
object.public OnmsResource getResource()
getResource
getResource
in interface OnmsAttribute
OnmsResource
object.OnmsAttribute.getResource()
public void setResource(OnmsResource resource)
setResource
setResource
in interface OnmsAttribute
resource
- a OnmsResource
object.Copyright © 2021. All rights reserved.