Package org.opennms.netmgt.model
Class HwEntityAttributeType
- java.lang.Object
-
- org.opennms.netmgt.model.HwEntityAttributeType
-
- All Implemented Interfaces:
Serializable
,Comparable<HwEntityAttributeType>
@Entity public class HwEntityAttributeType extends Object implements Serializable, Comparable<HwEntityAttributeType>
The Class HwEntityAttributeType.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HwEntityAttributeType()
The Constructor.HwEntityAttributeType(String attributeOid, String attributeName, String attributeClass)
The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(HwEntityAttributeType o)
boolean
equals(Object obj)
String
getAttributeClass()
Gets the attribute class.Integer
getId()
Gets the id.String
getName()
Gets the name.String
getOid()
Gets the OID.SnmpObjId
getSnmpObjId()
Gets the SNMP object id.int
hashCode()
void
setAttributeClass(String attributeClass)
Sets the attribute class.void
setId(Integer id)
Sets the id.void
setName(String attributeName)
Sets the name.void
setOid(String attributeOid)
Sets the OID.String
toString()
-
-
-
Method Detail
-
getId
public Integer getId()
Gets the id.- Returns:
- the id
-
setId
public void setId(Integer id)
Sets the id.- Parameters:
id
- the id
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
setName
public void setName(String attributeName)
Sets the name.- Parameters:
attributeName
- the name
-
getOid
public String getOid()
Gets the OID.- Returns:
- the OID
-
setOid
public void setOid(String attributeOid)
Sets the OID.- Parameters:
attributeOid
- the OID
-
getSnmpObjId
public SnmpObjId getSnmpObjId()
Gets the SNMP object id.- Returns:
- the SNMP object id
-
getAttributeClass
public String getAttributeClass()
Gets the attribute class.- Returns:
- the attribute class
-
setAttributeClass
public void setAttributeClass(String attributeClass)
Sets the attribute class.- Parameters:
attributeClass
- the attribute class
-
compareTo
public int compareTo(HwEntityAttributeType o)
- Specified by:
compareTo
in interfaceComparable<HwEntityAttributeType>
-
-