@Entity public class OnmsHwEntityAttribute extends Object implements Serializable, Comparable<OnmsHwEntityAttribute>
| Constructor and Description |
|---|
OnmsHwEntityAttribute()
The Constructor.
|
OnmsHwEntityAttribute(HwEntityAttributeType type,
String value)
The Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OnmsHwEntityAttribute o) |
boolean |
equals(Object obj) |
OnmsHwEntity |
getHwEntity()
Gets the hardware entity.
|
Integer |
getId()
Gets the id.
|
HwEntityAttributeType |
getType()
Gets the type.
|
String |
getTypeClass()
Gets the type class.
|
String |
getTypeName()
Gets the type name.
|
String |
getTypeOid()
Gets the type OID.
|
String |
getValue()
Gets the value.
|
int |
hashCode() |
void |
setHwEntity(OnmsHwEntity hwEntity)
Sets the hardware entity.
|
void |
setId(Integer id)
Sets the id.
|
void |
setType(HwEntityAttributeType attributeType)
Sets the type.
|
void |
setTypeClass(String typeClass)
Sets the type class.
|
void |
setTypeName(String typeName)
Sets the type name.
|
void |
setTypeOid(String typeOid)
Sets the type OID.
|
void |
setValue(String attributeValue)
Sets the value.
|
String |
toString() |
public OnmsHwEntityAttribute()
public OnmsHwEntityAttribute(HwEntityAttributeType type, String value)
type - the typevalue - the valuepublic Integer getId()
public void setId(Integer id)
id - the idpublic OnmsHwEntity getHwEntity()
public void setHwEntity(OnmsHwEntity hwEntity)
hwEntity - the hardware entitypublic HwEntityAttributeType getType()
public void setType(HwEntityAttributeType attributeType)
attributeType - the typepublic String getTypeName()
public void setTypeName(String typeName)
typeName - the type namepublic String getTypeOid()
public void setTypeOid(String typeOid)
typeOid - the type OIDpublic String getTypeClass()
public void setTypeClass(String typeClass)
typeClass - the type classpublic String getValue()
public void setValue(String attributeValue)
attributeValue - the valuepublic int compareTo(OnmsHwEntityAttribute o)
compareTo in interface Comparable<OnmsHwEntityAttribute>Copyright © 2022. All rights reserved.