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