Package org.opennms.netmgt.model
Class OnmsSecretAttribute
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsSecretAttribute
-
public class OnmsSecretAttribute extends java.lang.ObjectThis is part of the 'secret' project from the 2005 Dev-Jam. It will mostly likely be replaced by or refactored into the new OnmsResource/OnmsAttribute model classes.
-
-
Constructor Summary
Constructors Constructor Description OnmsSecretAttribute()Constructor for OnmsSecretAttribute.OnmsSecretAttribute(java.lang.String id, java.lang.String label)Constructor for OnmsSecretAttribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()getIdjava.lang.StringgetLabel()getLabelvoidsetId(java.lang.String id)setIdvoidsetLabel(java.lang.String label)setLabel
-
-
-
Method Detail
-
getId
public java.lang.String getId()
getId
- Returns:
- a
Stringobject.
-
setId
public void setId(java.lang.String id)
setId
- Parameters:
id- aStringobject.
-
getLabel
public java.lang.String getLabel()
getLabel
- Returns:
- a
Stringobject.
-
setLabel
public void setLabel(java.lang.String label)
setLabel
- Parameters:
label- aStringobject.
-
-