Package org.opennms.netmgt.config
Class MergeableSpecific
- java.lang.Object
-
- 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
Constructors Constructor Description MergeableSpecific(String specific)
Constructor for MergeableSpecific.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(String specific)
Uses a comparable comparing to Specifics from the config package.boolean
equals(Object o)
String
getSpecific()
getSpecificbyte[]
getValue()
getValueint
hashCode()
void
setSpecific(String specific)
setSpecificString
toString()
toString
-
-
-
Method Detail
-
compareTo
public int compareTo(String specific)
Uses a comparable comparing to Specifics from the config package.- Specified by:
compareTo
in interfaceComparable<String>
- Parameters:
specific
- aString
object.- Returns:
- a int.
-
setSpecific
public void setSpecific(String specific)
setSpecific
- Parameters:
specific
- aString
object.
-
toString
public String toString()
toString
-
getValue
public byte[] getValue()
getValue
- Returns:
- the value
-
-