Package org.opennms.netmgt.model
Class OnmsHwEntityAlias
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsHwEntityAlias
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OnmsHwEntityAlias>
@Entity public class OnmsHwEntityAlias extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<OnmsHwEntityAlias>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OnmsHwEntityAlias()
The Constructor.OnmsHwEntityAlias(java.lang.Integer index, java.lang.String oid)
The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(OnmsHwEntityAlias o)
boolean
equals(java.lang.Object obj)
OnmsHwEntity
getHwEntity()
Gets the hardware entity.java.lang.Integer
getHwEntityId()
java.lang.Integer
getId()
java.lang.Integer
getIndex()
java.lang.String
getOid()
int
hashCode()
void
setHwEntity(OnmsHwEntity hwEntity)
Sets the hardware entity.void
setHwEntityId(java.lang.Integer hwEntityId)
void
setId(java.lang.Integer id)
void
setIndex(java.lang.Integer index)
void
setOid(java.lang.String oid)
java.lang.String
toString()
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
- Returns:
- the id
-
setId
public void setId(java.lang.Integer id)
- Parameters:
id
- the m_id to set
-
getHwEntity
public OnmsHwEntity getHwEntity()
Gets the hardware entity.- Returns:
- the hardware entity
-
getHwEntityId
public java.lang.Integer getHwEntityId()
-
setHwEntityId
public void setHwEntityId(java.lang.Integer hwEntityId)
-
setHwEntity
public void setHwEntity(OnmsHwEntity hwEntity)
Sets the hardware entity.- Parameters:
hwEntity
- the hardware entity
-
getIndex
public java.lang.Integer getIndex()
- Returns:
- the m_entAliasId
-
setIndex
public void setIndex(java.lang.Integer index)
- Parameters:
index
- the index to set
-
getOid
public java.lang.String getOid()
- Returns:
- the m_entAliasOid
-
setOid
public void setOid(java.lang.String oid)
- Parameters:
oid
- the oid to set
-
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(OnmsHwEntityAlias o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<OnmsHwEntityAlias>
-
-