@Entity public class OnmsHwEntityAlias extends Object implements Serializable, Comparable<OnmsHwEntityAlias>
Constructor and Description |
---|
OnmsHwEntityAlias()
The Constructor.
|
OnmsHwEntityAlias(Integer index,
String oid)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OnmsHwEntityAlias o) |
boolean |
equals(Object obj) |
OnmsHwEntity |
getHwEntity()
Gets the hardware entity.
|
Integer |
getId() |
Integer |
getIndex() |
String |
getOid() |
int |
hashCode() |
void |
setHwEntity(OnmsHwEntity hwEntity)
Sets the hardware entity.
|
void |
setId(Integer id) |
void |
setIndex(Integer index) |
void |
setOid(String oid) |
String |
toString() |
public Integer getId()
public void setId(Integer id)
id
- the m_id to setpublic OnmsHwEntity getHwEntity()
public void setHwEntity(OnmsHwEntity hwEntity)
hwEntity
- the hardware entitypublic Integer getIndex()
public void setIndex(Integer index)
index
- the index to setpublic String getOid()
public void setOid(String oid)
oid
- the oid to setpublic int compareTo(OnmsHwEntityAlias o)
compareTo
in interface Comparable<OnmsHwEntityAlias>
Copyright © 2021. All rights reserved.