org.opennms.netmgt.model
Class OnmsSecretAttribute

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsSecretAttribute

public class OnmsSecretAttribute
extends Object

This 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.

Version:
$Id: $
Author:
ranger

Constructor Summary
OnmsSecretAttribute()
          Constructor for OnmsSecretAttribute.
OnmsSecretAttribute(String id, String label)
          Constructor for OnmsSecretAttribute.
 
Method Summary
 String getId()
          getId
 String getLabel()
          getLabel
 void setId(String id)
          setId
 void setLabel(String label)
          setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnmsSecretAttribute

public OnmsSecretAttribute()

Constructor for OnmsSecretAttribute.


OnmsSecretAttribute

public OnmsSecretAttribute(String id,
                           String label)

Constructor for OnmsSecretAttribute.

Parameters:
id - a String object.
label - a String object.
Method Detail

getId

public String getId()

getId

Returns:
a String object.

setId

public void setId(String id)

setId

Parameters:
id - a String object.

getLabel

public String getLabel()

getLabel

Returns:
a String object.

setLabel

public void setLabel(String label)

setLabel

Parameters:
label - a String object.


Copyright © 2011. All Rights Reserved.