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 int
compareTo(OnmsHwEntityAlias o)
boolean
equals(Object obj)
OnmsHwEntity
getHwEntity()
Gets the hardware entity.Integer
getHwEntityId()
Integer
getId()
Integer
getIndex()
String
getOid()
int
hashCode()
void
setHwEntity(OnmsHwEntity hwEntity)
Sets the hardware entity.void
setHwEntityId(Integer hwEntityId)
void
setId(Integer id)
void
setIndex(Integer index)
void
setOid(String oid)
String
toString()
-
-
-
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:
compareTo
in interfaceComparable<OnmsHwEntityAlias>
-
-