org.opennms.netmgt.config
Class MergeableSpecific

java.lang.Object
  extended by org.opennms.netmgt.config.MergeableSpecific
All Implemented Interfaces:
Comparable<String>

public final class MergeableSpecific
extends Object
implements Comparable<String>

This class is used as a wrapper object for the generated Specific class in the config package.

Author:
David Hustace

Constructor Summary
MergeableSpecific(String specific)
           
 
Method Summary
 int compareTo(String specific)
          Uses a comparable comparing to Specifics from the config package.
 String getSpecific()
           
 long getValue()
           
 void setSpecific(String specific)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MergeableSpecific

public MergeableSpecific(String specific)
Method Detail

compareTo

public int compareTo(String specific)
Uses a comparable comparing to Specifics from the config package.

Specified by:
compareTo in interface Comparable<String>

getSpecific

public String getSpecific()

setSpecific

public void setSpecific(String specific)

toString

public String toString()
Overrides:
toString in class Object

getValue

public long getValue()
Returns:
the value


Copyright © 2009. All Rights Reserved.