Package org.opennms.netmgt.model
Class OnmsHwEntityAlias
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsHwEntityAlias
-
- All Implemented Interfaces:
Serializable,Comparable<OnmsHwEntityAlias>
@Entity public class OnmsHwEntityAlias extends Object implements Serializable, Comparable<OnmsHwEntityAlias>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OnmsHwEntityAlias()The Constructor.OnmsHwEntityAlias(Integer index, String oid)The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(OnmsHwEntityAlias o)booleanequals(Object obj)OnmsHwEntitygetHwEntity()Gets the hardware entity.IntegergetHwEntityId()IntegergetId()IntegergetIndex()StringgetOid()inthashCode()voidsetHwEntity(OnmsHwEntity hwEntity)Sets the hardware entity.voidsetHwEntityId(Integer hwEntityId)voidsetId(Integer id)voidsetIndex(Integer index)voidsetOid(String oid)StringtoString()
-
-
-
Method Detail
-
getId
public Integer getId()
- Returns:
- the id
-
setId
public void setId(Integer id)
- Parameters:
id- the m_id to set
-
getHwEntity
public OnmsHwEntity getHwEntity()
Gets the hardware entity.- Returns:
- the hardware entity
-
getHwEntityId
public Integer getHwEntityId()
-
setHwEntityId
public void setHwEntityId(Integer hwEntityId)
-
setHwEntity
public void setHwEntity(OnmsHwEntity hwEntity)
Sets the hardware entity.- Parameters:
hwEntity- the hardware entity
-
getIndex
public Integer getIndex()
- Returns:
- the m_entAliasId
-
setIndex
public void setIndex(Integer index)
- Parameters:
index- the index to set
-
getOid
public String getOid()
- Returns:
- the m_entAliasOid
-
setOid
public void setOid(String oid)
- Parameters:
oid- the oid to set
-
compareTo
public int compareTo(OnmsHwEntityAlias o)
- Specified by:
compareToin interfaceComparable<OnmsHwEntityAlias>
-
-