@Entity public class OnmsAssetRecord extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
static String | 
AUTOENABLED
Constant  
AUTOENABLED="A" | 
static String | 
RSH_CONNECTION
Constant  
RSH_CONNECTION="rsh" | 
static String | 
SSH_CONNECTION
Constant  
SSH_CONNECTION="ssh" | 
static String | 
TELNET_CONNECTION
Constant  
TELNET_CONNECTION="telnet" | 
| Constructor and Description | 
|---|
OnmsAssetRecord()
default constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj) | 
String | 
getAdditionalhardware()
getAdditionalhardware 
 | 
String | 
getAddress1()
Deprecated.  
 | 
String | 
getAddress2()
Deprecated.  
 | 
String | 
getAdmin()
getAdmin 
 | 
String | 
getAssetNumber()
--# assetNumber      : A business-specified asset number. 
 | 
String | 
getAutoenable()
getAutoenable 
 | 
String | 
getBuilding()
--# building         : The building where this asset resides. 
 | 
String | 
getCategory()
--# category         : A broad idea of what this asset does (examples are
 --#                    desktop, printer, server, infrastructure, etc.). 
 | 
String | 
getCircuitId()
--# circuitId        : The electrical/network circuit this asset connects to. 
 | 
String | 
getCity()
Deprecated.  
 | 
String | 
getComment()
getComment 
 | 
String | 
getConnection()
getConnection 
 | 
String | 
getCountry()
Deprecated.  
 | 
String | 
getCpu()
getCpu 
 | 
String | 
getDateInstalled()
--# dateInstalled    : The date the asset was installed. 
 | 
String | 
getDepartment()
--# department       : The department this asset belongs to. 
 | 
String | 
getDescription()
--# description      : A free-form description. 
 | 
String | 
getDisplayCategory()
getDisplayCategory 
 | 
String | 
getDivision()
--# division         : A broad geographical or organizational area. 
 | 
String | 
getEnable()
getEnable 
 | 
String | 
getFloor()
--# floor            : The floor of the building where this asset resides. 
 | 
OnmsGeolocation | 
getGeolocation()  | 
String | 
getHdd1()
getHdd1 
 | 
String | 
getHdd2()
getHdd2 
 | 
String | 
getHdd3()
getHdd3 
 | 
String | 
getHdd4()
getHdd4 
 | 
String | 
getHdd5()
getHdd5 
 | 
String | 
getHdd6()
getHdd6 
 | 
Integer | 
getId()
getId 
 | 
String | 
getInputpower()
getInputpower 
 | 
String | 
getLastModifiedBy()
--# userLastModified : The last user who modified this record. 
 | 
Date | 
getLastModifiedDate()
--# lastModifiedDate : The last time this record was modified. 
 | 
Double | 
getLatitude()
Deprecated.  
 | 
String | 
getLease()
--# lease            : The lease number of this asset. 
 | 
String | 
getLeaseExpires()
--# leaseExpires     : The date the lease expires for this asset. 
 | 
Double | 
getLongitude()
Deprecated.  
 | 
String | 
getMaintcontract()
--# maintcontract    : The maintenance contract number for this asset. 
 | 
String | 
getMaintContractExpiration()
getMaintContractExpiration 
 | 
String | 
getMaintContractNumber()
Deprecated. 
 
This field is provided for backwards compatibility with OpenNMS < 1.10 
 | 
String | 
getManagedObjectInstance()
getManagedObjectInstance 
 | 
String | 
getManagedObjectType()
getManagedObjectType 
 | 
String | 
getManufacturer()
--# manufacturer     : Name of the manufacturer of this asset. 
 | 
String | 
getModelNumber()
--# modelNumber      : The model number of this asset. 
 | 
OnmsNode | 
getNode()
The node this asset information belongs to. 
 | 
String | 
getNotifyCategory()
getNotifyCategory 
 | 
String | 
getNumpowersupplies()
getNumpowersupplies 
 | 
String | 
getOperatingSystem()
--# operatingSystem  : The operating system, if any. 
 | 
String | 
getPassword()
getPassword 
 | 
String | 
getPollerCategory()
getPollerCategory 
 | 
String | 
getPort()
--# port             : For servers, the port in the slot it is installed in. 
 | 
String | 
getRack()
--# rack             : For servers, the rack it is installed in. 
 | 
String | 
getRackunitheight()
getRackunitheight 
 | 
String | 
getRam()
getRam 
 | 
String | 
getRegion()
--# region           : A broad geographical or organizational area. 
 | 
String | 
getRoom()
--# room             : The room where this asset resides. 
 | 
String | 
getSerialNumber()
--# serialNumber     : The serial number of this asset. 
 | 
String | 
getSlot()
--# slot             : For servers, the slot in the rack it is installed in. 
 | 
String | 
getSnmpcommunity()
getSnmpcommunity 
 | 
String | 
getState()
Deprecated.  
 | 
String | 
getStoragectrl()
getStoragectrl 
 | 
String | 
getSupportPhone()
--# supportPhone     : A support phone number for this asset. 
 | 
String | 
getThresholdCategory()
getThresholdCategory 
 | 
String | 
getUsername()
getUsername 
 | 
String | 
getVendor()
--# vendor           : Vendor from whom this asset was purchased. 
 | 
String | 
getVendorAssetNumber()
getVendorAssetNumber 
 | 
String | 
getVendorFax()
--# vendorFax        : A fax number for the vendor. 
 | 
String | 
getVendorPhone()
--# vendorPhone      : A contact number for the vendor. 
 | 
String | 
getVmwareManagedEntityType()
getVmwareManagedEntityType 
 | 
String | 
getVmwareManagedObjectId()
getVmwareManagedObjectId 
 | 
String | 
getVmwareManagementServer()
getVmwareManagementServer 
 | 
String | 
getVmwareState()
getVmwareState 
 | 
String | 
getVmwareTopologyInfo()
getVmwareTopologyInfo 
 | 
String | 
getZip()
Deprecated.  
 | 
int | 
hashCode()  | 
void | 
mergeRecord(OnmsAssetRecord newRecord)
Used to merge the contents of one asset record to another. 
 | 
void | 
setAdditionalhardware(String additionalhardware)
setAdditionalhardware 
 | 
void | 
setAddress1(String address1)
Deprecated.  
 | 
void | 
setAddress2(String address2)
Deprecated.  
 | 
void | 
setAdmin(String admin)
setAdmin 
 | 
void | 
setAssetNumber(String assetnumber)
setAssetNumber 
 | 
void | 
setAutoenable(String autoenable)
setAutoenable 
 | 
void | 
setBuilding(String building)
setBuilding 
 | 
void | 
setCategory(String category)
setCategory 
 | 
void | 
setCircuitId(String circuitid)
setCircuitId 
 | 
void | 
setCity(String city)
Deprecated.  
 | 
void | 
setComment(String comment)
setComment 
 | 
void | 
setConnection(String connection)
setConnection 
 | 
void | 
setCountry(String country)
Deprecated.  
 | 
void | 
setCpu(String cpu)
setCpu 
 | 
void | 
setDateInstalled(String dateinstalled)
setDateInstalled 
 | 
void | 
setDepartment(String department)
setDepartment 
 | 
void | 
setDescription(String description)
setDescription 
 | 
void | 
setDisplayCategory(String displaycategory)
setDisplayCategory 
 | 
void | 
setDivision(String division)
setDivision 
 | 
void | 
setEnable(String enable)
setEnable 
 | 
void | 
setFloor(String floor)
setFloor 
 | 
void | 
setGeolocation(OnmsGeolocation geolocation)  | 
void | 
setHdd1(String hdd1)
setHdd1 
 | 
void | 
setHdd2(String hdd2)
setHdd2 
 | 
void | 
setHdd3(String hdd3)
setHdd3 
 | 
void | 
setHdd4(String hdd4)
setHdd4 
 | 
void | 
setHdd5(String hdd5)
setHdd5 
 | 
void | 
setHdd6(String hdd6)
setHdd6 
 | 
void | 
setId(Integer id)
setId 
 | 
void | 
setInputpower(String inputpower)
setInputpower 
 | 
void | 
setLastModifiedBy(String userlastmodified)
setLastModifiedBy 
 | 
void | 
setLastModifiedDate(Date lastmodifieddate)
setLastModifiedDate 
 | 
void | 
setLatitude(Double latitude)
Deprecated.  
 | 
void | 
setLease(String lease)
setLease 
 | 
void | 
setLeaseExpires(String leaseexpires)
setLeaseExpires 
 | 
void | 
setLongitude(Double longitude)
Deprecated.  
 | 
void | 
setMaintcontract(String maintcontract)
setMaintContract 
 | 
void | 
setMaintContractExpiration(String maintcontractexpires)
setMaintContractExpiration 
 | 
void | 
setMaintContractNumber(String maintcontract)
Deprecated. 
 
This field is provided for backwards compatibility with OpenNMS < 1.10 
 | 
void | 
setManagedObjectInstance(String moi)
setManagedObjectInstance 
 | 
void | 
setManagedObjectType(String mot)
setManagedObjectType 
 | 
void | 
setManufacturer(String manufacturer)
setManufacturer 
 | 
void | 
setModelNumber(String modelnumber)
setModelNumber 
 | 
void | 
setNode(OnmsNode node)
Set the node associated with the asset record 
 | 
void | 
setNotifyCategory(String notifycategory)
setNotifyCategory 
 | 
void | 
setNumpowersupplies(String numpowersupplies)
setNumpowersupplies 
 | 
void | 
setOperatingSystem(String operatingsystem)
setOperatingSystem 
 | 
void | 
setPassword(String password)
setPassword 
 | 
void | 
setPollerCategory(String pollercategory)
setPollerCategory 
 | 
void | 
setPort(String port)
setPort 
 | 
void | 
setRack(String rack)
setRack 
 | 
void | 
setRackunitheight(String rackunitheight)  | 
void | 
setRam(String ram)
setRam 
 | 
void | 
setRegion(String region)
setRegion 
 | 
void | 
setRoom(String room)
setRoom 
 | 
void | 
setSerialNumber(String serialnumber)
setSerialNumber 
 | 
void | 
setSlot(String slot)
setSlot 
 | 
void | 
setSnmpcommunity(String snmpcommunity)
setSnmpcommunity 
 | 
void | 
setState(String state)
Deprecated.  
 | 
void | 
setStoragectrl(String storagectrl)
setStoragectrl 
 | 
void | 
setSupportPhone(String supportphone)
setSupportPhone 
 | 
void | 
setThresholdCategory(String thresholdcategory)
setThresholdCategory 
 | 
void | 
setUsername(String username)
setUsername 
 | 
void | 
setVendor(String vendor)
setVendor 
 | 
void | 
setVendorAssetNumber(String vendorassetnumber)
setVendorAssetNumber 
 | 
void | 
setVendorFax(String vendorfax)
setVendorFax 
 | 
void | 
setVendorPhone(String vendorphone)
setVendorPhone 
 | 
void | 
setVmwareManagedEntityType(String vmwareManagedEntityType)
setVmwareManagedEntityType 
 | 
void | 
setVmwareManagedObjectId(String vmwareManagedObjectId)
setVmwareManagedObjectId 
 | 
void | 
setVmwareManagementServer(String vmwareManagementServer)
setVmwareManagementServer 
 | 
void | 
setVmwareState(String vmwareState)
setVmwareState 
 | 
void | 
setVmwareTopologyInfo(String vmwareTopologyInfo)
setVmwareTopologyInfo 
 | 
void | 
setZip(String zip)
Deprecated.  
 | 
String | 
toString() | 
public static final String AUTOENABLED
AUTOENABLED="A"public static final String SSH_CONNECTION
SSH_CONNECTION="ssh"public static final String TELNET_CONNECTION
TELNET_CONNECTION="telnet"public static final String RSH_CONNECTION
RSH_CONNECTION="rsh"public OnmsNode getNode()
OnmsNode object.public void setNode(OnmsNode node)
node - a OnmsNode object.public String getCategory()
String object.public void setCategory(String category)
setCategory
category - a String object.public String getManufacturer()
String object.public void setManufacturer(String manufacturer)
setManufacturer
manufacturer - a String object.public String getVendor()
String object.public String getModelNumber()
String object.public void setModelNumber(String modelnumber)
setModelNumber
modelnumber - a String object.public String getSerialNumber()
String object.public void setSerialNumber(String serialnumber)
setSerialNumber
serialnumber - a String object.public String getDescription()
String object.public void setDescription(String description)
setDescription
description - a String object.public String getCircuitId()
String object.public void setCircuitId(String circuitid)
setCircuitId
circuitid - a String object.public String getAssetNumber()
String object.public void setAssetNumber(String assetnumber)
setAssetNumber
assetnumber - a String object.public String getOperatingSystem()
String object.public void setOperatingSystem(String operatingsystem)
setOperatingSystem
operatingsystem - a String object.public String getRack()
String object.public String getSlot()
String object.public String getPort()
String object.public String getRegion()
String object.public String getDivision()
String object.public void setDivision(String division)
setDivision
division - a String object.public String getDepartment()
String object.public void setDepartment(String department)
setDepartment
department - a String object.public OnmsGeolocation getGeolocation()
public void setGeolocation(OnmsGeolocation geolocation)
public String getBuilding()
String object.public void setBuilding(String building)
setBuilding
building - a String object.public String getFloor()
String object.public String getRoom()
String object.public String getVendorPhone()
String object.public void setVendorPhone(String vendorphone)
setVendorPhone
vendorphone - a String object.public String getVendorFax()
String object.public void setVendorFax(String vendorfax)
setVendorFax
vendorfax - a String object.public String getVendorAssetNumber()
getVendorAssetNumber
String object.public void setVendorAssetNumber(String vendorassetnumber)
setVendorAssetNumber
vendorassetnumber - a String object.public String getLastModifiedBy()
String object.public void setLastModifiedBy(String userlastmodified)
setLastModifiedBy
userlastmodified - a String object.public Date getLastModifiedDate()
Date object.public void setLastModifiedDate(Date lastmodifieddate)
setLastModifiedDate
lastmodifieddate - a Date object.public String getDateInstalled()
String object.public void setDateInstalled(String dateinstalled)
setDateInstalled
dateinstalled - a String object.public String getLease()
String object.public String getLeaseExpires()
String object.public void setLeaseExpires(String leaseexpires)
setLeaseExpires
leaseexpires - a String object.public String getSupportPhone()
String object.public void setSupportPhone(String supportphone)
setSupportPhone
supportphone - a String object.public String getMaintcontract()
String object.public void setMaintcontract(String maintcontract)
setMaintContract
maintcontract - a String object.public String getMaintContractNumber()
String object.public void setMaintContractNumber(String maintcontract)
setMaintContractNumber
maintcontract - a String object.public String getMaintContractExpiration()
getMaintContractExpiration
String object.public void setMaintContractExpiration(String maintcontractexpires)
setMaintContractExpiration
maintcontractexpires - a String object.public void setDisplayCategory(String displaycategory)
setDisplayCategory
displaycategory - a String object.public void setNotifyCategory(String notifycategory)
setNotifyCategory
notifycategory - a String object.public void setPollerCategory(String pollercategory)
setPollerCategory
pollercategory - a String object.public String getThresholdCategory()
getThresholdCategory
String object.public void setThresholdCategory(String thresholdcategory)
setThresholdCategory
thresholdcategory - a String object.public String getManagedObjectType()
getManagedObjectType
String object.public void setManagedObjectType(String mot)
setManagedObjectType
mot - a String object.public String getManagedObjectInstance()
getManagedObjectInstance
String object.public void setManagedObjectInstance(String moi)
setManagedObjectInstance
moi - a String object.public void setUsername(String username)
setUsername
username - a String object.public void setPassword(String password)
setPassword
password - a String object.public void setConnection(String connection)
setConnection
connection - a String object.public void setAutoenable(String autoenable)
setAutoenable
autoenable - a String object.public void setSnmpcommunity(String snmpcommunity)
setSnmpcommunity
snmpcommunity - a String object.public void setRackunitheight(String rackunitheight)
public String getAdditionalhardware()
getAdditionalhardware
String object.public void setAdditionalhardware(String additionalhardware)
setAdditionalhardware
additionalhardware - a String object.public void setInputpower(String inputpower)
setInputpower
inputpower - a String object.public String getNumpowersupplies()
getNumpowersupplies
String object.public void setNumpowersupplies(String numpowersupplies)
setNumpowersupplies
numpowersupplies - a String object.public void setStoragectrl(String storagectrl)
setStoragectrl
storagectrl - a String object.@Deprecated public String getAddress1()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setAddress1(String address1)
@Deprecated public String getAddress2()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setAddress2(String address2)
@Deprecated public String getCity()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setCity(String city)
@Deprecated public String getState()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setState(String state)
@Deprecated public String getZip()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setZip(String zip)
@Deprecated public String getCountry()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setCountry(String country)
@Deprecated public Double getLongitude()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setLongitude(Double longitude)
@Deprecated public Double getLatitude()
OnmsGeolocation is truly a separate table, or projection mapping will fail.@Deprecated public void setLatitude(Double latitude)
public String getVmwareManagedEntityType()
getVmwareManagedEntityType
Set the VMware management entity type defines if the machine is a virtual machine or a host systemString objectpublic void setVmwareManagedEntityType(String vmwareManagedEntityType)
setVmwareManagedEntityType
Set the VMware management entity type defines if the machine is a virtual machine or a host systemvmwareManagedEntityType - a String objectpublic String getVmwareManagedObjectId()
getVmwareManagedObjectId
Get the VMware managed object ID as a unique identifier for VMware APIString objectpublic void setVmwareManagedObjectId(String vmwareManagedObjectId)
setVmwareManagedObjectId
Set the VMware managed object ID as a unique identifier for VMware APIpublic String getVmwareManagementServer()
getVmwareManagementServer
Get the vCenter host or ip addressString objectpublic void setVmwareManagementServer(String vmwareManagementServer)
setVmwareManagementServer
Set the vCenter host or ip addressvmwareManagementServer - a String objectpublic String getVmwareState()
getVmwareState
Get the VMware managed entity stateString objectpublic void setVmwareState(String vmwareState)
setVmwareState
Set the VMware managed entity statevmwareState - a String objectpublic String getVmwareTopologyInfo()
getVmwareTopologyInfo
Get the VMware topology informationString objectpublic void setVmwareTopologyInfo(String vmwareTopologyInfo)
setVmwareTopologyInfo
Set the VMware topology informationvmwareTopologyInfo - a String objectpublic void mergeRecord(OnmsAssetRecord newRecord)
newRecord - a OnmsAssetRecord object.Copyright © 2021. All rights reserved.