Class CompMember
- java.lang.Object
-
- org.opennms.netmgt.config.collectd.jmx.CompMember
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CompMember>
public class CompMember extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<CompMember>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(CompMember o)
boolean
equals(java.lang.Object obj)
java.lang.String
getAlias()
java.lang.String
getMaxval()
java.lang.String
getMinval()
java.lang.String
getName()
AttributeType
getType()
int
hashCode()
void
setAlias(java.lang.String alias)
void
setMaxval(java.lang.String maxval)
void
setMinval(java.lang.String minval)
void
setName(java.lang.String name)
void
setType(AttributeType type)
Attrib
toAttrib()
Converts thisCompMember
to anAttrib
.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getAlias
public java.lang.String getAlias()
-
getMaxval
public java.lang.String getMaxval()
-
getMinval
public java.lang.String getMinval()
-
getName
public java.lang.String getName()
-
getType
public AttributeType getType()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
setAlias
public void setAlias(java.lang.String alias)
-
setMaxval
public void setMaxval(java.lang.String maxval)
-
setMinval
public void setMinval(java.lang.String minval)
-
setName
public void setName(java.lang.String name)
-
setType
public void setType(AttributeType type)
-
toAttrib
public Attrib toAttrib()
Converts thisCompMember
to anAttrib
. This is basically to use most of the APIs which have already been written for Attrib.- Returns:
- The converted CompMember as an Attrib.
-
compareTo
public int compareTo(CompMember o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<CompMember>
-
-