Class OnmsAssetRecord

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class OnmsAssetRecord
    extends java.lang.Object
    implements java.io.Serializable
    Represents the asset information for a node.
    See Also:
    Serialized Form
    Hibernate class:
    table="assets"
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AUTOENABLED
      Constant AUTOENABLED="A"
      static java.lang.String RSH_CONNECTION
      Constant RSH_CONNECTION="rsh"
      static java.lang.String SSH_CONNECTION
      Constant SSH_CONNECTION="ssh"
      static java.lang.String TELNET_CONNECTION
      Constant TELNET_CONNECTION="telnet"
    • Constructor Summary

      Constructors 
      Constructor Description
      OnmsAssetRecord()
      default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      java.lang.String getAdditionalhardware()
      getAdditionalhardware
      java.lang.String getAddress1()
      Deprecated.
      java.lang.String getAddress2()
      Deprecated.
      java.lang.String getAdmin()
      getAdmin
      java.lang.String getAssetNumber()
      --# assetNumber : A business-specified asset number.
      java.lang.String getAutoenable()
      getAutoenable
      java.lang.String getBuilding()
      --# building : The building where this asset resides.
      java.lang.String getCategory()
      --# category : A broad idea of what this asset does (examples are --# desktop, printer, server, infrastructure, etc.).
      java.lang.String getCircuitId()
      --# circuitId : The electrical/network circuit this asset connects to.
      java.lang.String getCity()
      Deprecated.
      java.lang.String getComment()
      getComment
      java.lang.String getConnection()
      getConnection
      java.lang.String getCountry()
      Deprecated.
      java.lang.String getCpu()
      getCpu
      java.lang.String getDateInstalled()
      --# dateInstalled : The date the asset was installed.
      java.lang.String getDepartment()
      --# department : The department this asset belongs to.
      java.lang.String getDescription()
      --# description : A free-form description.
      java.lang.String getDisplayCategory()
      getDisplayCategory
      java.lang.String getDivision()
      --# division : A broad geographical or organizational area.
      java.lang.String getEnable()
      getEnable
      java.lang.String getFloor()
      --# floor : The floor of the building where this asset resides.
      OnmsGeolocation getGeolocation()  
      java.lang.String getHdd1()
      getHdd1
      java.lang.String getHdd2()
      getHdd2
      java.lang.String getHdd3()
      getHdd3
      java.lang.String getHdd4()
      getHdd4
      java.lang.String getHdd5()
      getHdd5
      java.lang.String getHdd6()
      getHdd6
      java.lang.Integer getId()
      getId
      java.lang.String getInputpower()
      getInputpower
      java.lang.String getLastModifiedBy()
      --# userLastModified : The last user who modified this record.
      java.util.Date getLastModifiedDate()
      --# lastModifiedDate : The last time this record was modified.
      java.lang.Double getLatitude()
      Deprecated.
      java.lang.String getLease()
      --# lease : The lease number of this asset.
      java.lang.String getLeaseExpires()
      --# leaseExpires : The date the lease expires for this asset.
      java.lang.Double getLongitude()
      Deprecated.
      java.lang.String getMaintcontract()
      --# maintcontract : The maintenance contract number for this asset.
      java.lang.String getMaintContractExpiration()
      getMaintContractExpiration
      java.lang.String getMaintContractNumber()
      Deprecated.
      This field is provided for backwards compatibility with OpenNMS < 1.10
      java.lang.String getManagedObjectInstance()
      getManagedObjectInstance
      java.lang.String getManagedObjectType()
      getManagedObjectType
      java.lang.String getManufacturer()
      --# manufacturer : Name of the manufacturer of this asset.
      java.lang.String getModelNumber()
      --# modelNumber : The model number of this asset.
      OnmsNode getNode()
      The node this asset information belongs to.
      java.lang.String getNotifyCategory()
      getNotifyCategory
      java.lang.String getNumpowersupplies()
      getNumpowersupplies
      java.lang.String getOperatingSystem()
      --# operatingSystem : The operating system, if any.
      java.lang.String getPassword()
      getPassword
      java.lang.String getPollerCategory()
      getPollerCategory
      java.lang.String getPort()
      --# port : For servers, the port in the slot it is installed in.
      java.lang.String getRack()
      --# rack : For servers, the rack it is installed in.
      java.lang.String getRackunitheight()
      getRackunitheight
      java.lang.String getRam()
      getRam
      java.lang.String getRegion()
      --# region : A broad geographical or organizational area.
      java.lang.String getRoom()
      --# room : The room where this asset resides.
      java.lang.String getSerialNumber()
      --# serialNumber : The serial number of this asset.
      java.lang.String getSlot()
      --# slot : For servers, the slot in the rack it is installed in.
      java.lang.String getSnmpcommunity()
      getSnmpcommunity
      java.lang.String getState()
      Deprecated.
      java.lang.String getStoragectrl()
      getStoragectrl
      java.lang.String getSupportPhone()
      --# supportPhone : A support phone number for this asset.
      java.lang.String getThresholdCategory()
      getThresholdCategory
      java.lang.String getUsername()
      getUsername
      java.lang.String getVendor()
      --# vendor : Vendor from whom this asset was purchased.
      java.lang.String getVendorAssetNumber()
      getVendorAssetNumber
      java.lang.String getVendorFax()
      --# vendorFax : A fax number for the vendor.
      java.lang.String getVendorPhone()
      --# vendorPhone : A contact number for the vendor.
      java.lang.String getZip()
      Deprecated.
      int hashCode()  
      void mergeRecord​(OnmsAssetRecord newRecord)
      Used to merge the contents of one asset record to another.
      void setAdditionalhardware​(java.lang.String additionalhardware)
      setAdditionalhardware
      void setAddress1​(java.lang.String address1)
      Deprecated.
      void setAddress2​(java.lang.String address2)
      Deprecated.
      void setAdmin​(java.lang.String admin)
      setAdmin
      void setAssetNumber​(java.lang.String assetnumber)
      setAssetNumber
      void setAutoenable​(java.lang.String autoenable)
      setAutoenable
      void setBuilding​(java.lang.String building)
      setBuilding
      void setCategory​(java.lang.String category)
      setCategory
      void setCircuitId​(java.lang.String circuitid)
      setCircuitId
      void setCity​(java.lang.String city)
      Deprecated.
      void setComment​(java.lang.String comment)
      setComment
      void setConnection​(java.lang.String connection)
      setConnection
      void setCountry​(java.lang.String country)
      Deprecated.
      void setCpu​(java.lang.String cpu)
      setCpu
      void setDateInstalled​(java.lang.String dateinstalled)
      setDateInstalled
      void setDepartment​(java.lang.String department)
      setDepartment
      void setDescription​(java.lang.String description)
      setDescription
      void setDisplayCategory​(java.lang.String displaycategory)
      setDisplayCategory
      void setDivision​(java.lang.String division)
      setDivision
      void setEnable​(java.lang.String enable)
      setEnable
      void setFloor​(java.lang.String floor)
      setFloor
      void setGeolocation​(OnmsGeolocation geolocation)  
      void setHdd1​(java.lang.String hdd1)
      setHdd1
      void setHdd2​(java.lang.String hdd2)
      setHdd2
      void setHdd3​(java.lang.String hdd3)
      setHdd3
      void setHdd4​(java.lang.String hdd4)
      setHdd4
      void setHdd5​(java.lang.String hdd5)
      setHdd5
      void setHdd6​(java.lang.String hdd6)
      setHdd6
      void setId​(java.lang.Integer id)
      setId
      void setInputpower​(java.lang.String inputpower)
      setInputpower
      void setLastModifiedBy​(java.lang.String userlastmodified)
      setLastModifiedBy
      void setLastModifiedDate​(java.util.Date lastmodifieddate)
      setLastModifiedDate
      void setLatitude​(java.lang.Double latitude)
      Deprecated.
      void setLease​(java.lang.String lease)
      setLease
      void setLeaseExpires​(java.lang.String leaseexpires)
      setLeaseExpires
      void setLongitude​(java.lang.Double longitude)
      Deprecated.
      void setMaintcontract​(java.lang.String maintcontract)
      setMaintContract
      void setMaintContractExpiration​(java.lang.String maintcontractexpires)
      setMaintContractExpiration
      void setMaintContractNumber​(java.lang.String maintcontract)
      Deprecated.
      This field is provided for backwards compatibility with OpenNMS < 1.10
      void setManagedObjectInstance​(java.lang.String moi)
      setManagedObjectInstance
      void setManagedObjectType​(java.lang.String mot)
      setManagedObjectType
      void setManufacturer​(java.lang.String manufacturer)
      setManufacturer
      void setModelNumber​(java.lang.String modelnumber)
      setModelNumber
      void setNode​(OnmsNode node)
      Set the node associated with the asset record
      void setNotifyCategory​(java.lang.String notifycategory)
      setNotifyCategory
      void setNumpowersupplies​(java.lang.String numpowersupplies)
      setNumpowersupplies
      void setOperatingSystem​(java.lang.String operatingsystem)
      setOperatingSystem
      void setPassword​(java.lang.String password)
      setPassword
      void setPollerCategory​(java.lang.String pollercategory)
      setPollerCategory
      void setPort​(java.lang.String port)
      setPort
      void setRack​(java.lang.String rack)
      setRack
      void setRackunitheight​(java.lang.String rackunitheight)  
      void setRam​(java.lang.String ram)
      setRam
      void setRegion​(java.lang.String region)
      setRegion
      void setRoom​(java.lang.String room)
      setRoom
      void setSerialNumber​(java.lang.String serialnumber)
      setSerialNumber
      void setSlot​(java.lang.String slot)
      setSlot
      void setSnmpcommunity​(java.lang.String snmpcommunity)
      setSnmpcommunity
      void setState​(java.lang.String state)
      Deprecated.
      void setStoragectrl​(java.lang.String storagectrl)
      setStoragectrl
      void setSupportPhone​(java.lang.String supportphone)
      setSupportPhone
      void setThresholdCategory​(java.lang.String thresholdcategory)
      setThresholdCategory
      void setUsername​(java.lang.String username)
      setUsername
      void setVendor​(java.lang.String vendor)
      setVendor
      void setVendorAssetNumber​(java.lang.String vendorassetnumber)
      setVendorAssetNumber
      void setVendorFax​(java.lang.String vendorfax)
      setVendorFax
      void setVendorPhone​(java.lang.String vendorphone)
      setVendorPhone
      void setZip​(java.lang.String zip)
      Deprecated.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • AUTOENABLED

        public static final java.lang.String AUTOENABLED
        Constant AUTOENABLED="A"
        See Also:
        Constant Field Values
      • SSH_CONNECTION

        public static final java.lang.String SSH_CONNECTION
        Constant SSH_CONNECTION="ssh"
        See Also:
        Constant Field Values
      • TELNET_CONNECTION

        public static final java.lang.String TELNET_CONNECTION
        Constant TELNET_CONNECTION="telnet"
        See Also:
        Constant Field Values
      • RSH_CONNECTION

        public static final java.lang.String RSH_CONNECTION
        Constant RSH_CONNECTION="rsh"
        See Also:
        Constant Field Values
    • Constructor Detail

      • OnmsAssetRecord

        public OnmsAssetRecord()
        default constructor
    • Method Detail

      • getId

        public java.lang.Integer getId()

        getId

        Returns:
        a Integer object.
      • setId

        public void setId​(java.lang.Integer id)

        setId

        Parameters:
        id - a Integer object.
      • getNode

        public OnmsNode getNode()
        The node this asset information belongs to.
        Returns:
        a OnmsNode object.
      • setNode

        public void setNode​(OnmsNode node)
        Set the node associated with the asset record
        Parameters:
        node - a OnmsNode object.
      • getCategory

        public java.lang.String getCategory()
        --# category : A broad idea of what this asset does (examples are --# desktop, printer, server, infrastructure, etc.).
        Returns:
        a String object.
      • setCategory

        public void setCategory​(java.lang.String category)

        setCategory

        Parameters:
        category - a String object.
      • getManufacturer

        public java.lang.String getManufacturer()
        --# manufacturer : Name of the manufacturer of this asset.
        Returns:
        a String object.
      • setManufacturer

        public void setManufacturer​(java.lang.String manufacturer)

        setManufacturer

        Parameters:
        manufacturer - a String object.
      • getVendor

        public java.lang.String getVendor()
        --# vendor : Vendor from whom this asset was purchased.
        Returns:
        a String object.
      • setVendor

        public void setVendor​(java.lang.String vendor)

        setVendor

        Parameters:
        vendor - a String object.
      • getModelNumber

        public java.lang.String getModelNumber()
        --# modelNumber : The model number of this asset.
        Returns:
        a String object.
      • setModelNumber

        public void setModelNumber​(java.lang.String modelnumber)

        setModelNumber

        Parameters:
        modelnumber - a String object.
      • getSerialNumber

        public java.lang.String getSerialNumber()
        --# serialNumber : The serial number of this asset.
        Returns:
        a String object.
      • setSerialNumber

        public void setSerialNumber​(java.lang.String serialnumber)

        setSerialNumber

        Parameters:
        serialnumber - a String object.
      • getDescription

        public java.lang.String getDescription()
        --# description : A free-form description.
        Returns:
        a String object.
      • setDescription

        public void setDescription​(java.lang.String description)

        setDescription

        Parameters:
        description - a String object.
      • getCircuitId

        public java.lang.String getCircuitId()
        --# circuitId : The electrical/network circuit this asset connects to.
        Returns:
        a String object.
      • setCircuitId

        public void setCircuitId​(java.lang.String circuitid)

        setCircuitId

        Parameters:
        circuitid - a String object.
      • getAssetNumber

        public java.lang.String getAssetNumber()
        --# assetNumber : A business-specified asset number.
        Returns:
        a String object.
      • setAssetNumber

        public void setAssetNumber​(java.lang.String assetnumber)

        setAssetNumber

        Parameters:
        assetnumber - a String object.
      • getOperatingSystem

        public java.lang.String getOperatingSystem()
        --# operatingSystem : The operating system, if any.
        Returns:
        a String object.
      • setOperatingSystem

        public void setOperatingSystem​(java.lang.String operatingsystem)

        setOperatingSystem

        Parameters:
        operatingsystem - a String object.
      • getRack

        public java.lang.String getRack()
        --# rack : For servers, the rack it is installed in.
        Returns:
        a String object.
      • setRack

        public void setRack​(java.lang.String rack)

        setRack

        Parameters:
        rack - a String object.
      • getSlot

        public java.lang.String getSlot()
        --# slot : For servers, the slot in the rack it is installed in.
        Returns:
        a String object.
      • setSlot

        public void setSlot​(java.lang.String slot)

        setSlot

        Parameters:
        slot - a String object.
      • getPort

        public java.lang.String getPort()
        --# port : For servers, the port in the slot it is installed in.
        Returns:
        a String object.
      • setPort

        public void setPort​(java.lang.String port)

        setPort

        Parameters:
        port - a String object.
      • getRegion

        public java.lang.String getRegion()
        --# region : A broad geographical or organizational area.
        Returns:
        a String object.
      • setRegion

        public void setRegion​(java.lang.String region)

        setRegion

        Parameters:
        region - a String object.
      • getDivision

        public java.lang.String getDivision()
        --# division : A broad geographical or organizational area.
        Returns:
        a String object.
      • setDivision

        public void setDivision​(java.lang.String division)

        setDivision

        Parameters:
        division - a String object.
      • getDepartment

        public java.lang.String getDepartment()
        --# department : The department this asset belongs to.
        Returns:
        a String object.
      • setDepartment

        public void setDepartment​(java.lang.String department)

        setDepartment

        Parameters:
        department - a String object.
      • setGeolocation

        public void setGeolocation​(OnmsGeolocation geolocation)
      • getBuilding

        public java.lang.String getBuilding()
        --# building : The building where this asset resides.
        Returns:
        a String object.
      • setBuilding

        public void setBuilding​(java.lang.String building)

        setBuilding

        Parameters:
        building - a String object.
      • getFloor

        public java.lang.String getFloor()
        --# floor : The floor of the building where this asset resides.
        Returns:
        a String object.
      • setFloor

        public void setFloor​(java.lang.String floor)

        setFloor

        Parameters:
        floor - a String object.
      • getRoom

        public java.lang.String getRoom()
        --# room : The room where this asset resides.
        Returns:
        a String object.
      • setRoom

        public void setRoom​(java.lang.String room)

        setRoom

        Parameters:
        room - a String object.
      • getVendorPhone

        public java.lang.String getVendorPhone()
        --# vendorPhone : A contact number for the vendor.
        Returns:
        a String object.
      • setVendorPhone

        public void setVendorPhone​(java.lang.String vendorphone)

        setVendorPhone

        Parameters:
        vendorphone - a String object.
      • getVendorFax

        public java.lang.String getVendorFax()
        --# vendorFax : A fax number for the vendor.
        Returns:
        a String object.
      • setVendorFax

        public void setVendorFax​(java.lang.String vendorfax)

        setVendorFax

        Parameters:
        vendorfax - a String object.
      • getVendorAssetNumber

        public java.lang.String getVendorAssetNumber()

        getVendorAssetNumber

        Returns:
        a String object.
      • setVendorAssetNumber

        public void setVendorAssetNumber​(java.lang.String vendorassetnumber)

        setVendorAssetNumber

        Parameters:
        vendorassetnumber - a String object.
      • getLastModifiedBy

        public java.lang.String getLastModifiedBy()
        --# userLastModified : The last user who modified this record.
        Returns:
        a String object.
      • setLastModifiedBy

        public void setLastModifiedBy​(java.lang.String userlastmodified)

        setLastModifiedBy

        Parameters:
        userlastmodified - a String object.
      • getLastModifiedDate

        public java.util.Date getLastModifiedDate()
        --# lastModifiedDate : The last time this record was modified.
        Returns:
        a Date object.
      • setLastModifiedDate

        public void setLastModifiedDate​(java.util.Date lastmodifieddate)

        setLastModifiedDate

        Parameters:
        lastmodifieddate - a Date object.
      • getDateInstalled

        public java.lang.String getDateInstalled()
        --# dateInstalled : The date the asset was installed.
        Returns:
        a String object.
      • setDateInstalled

        public void setDateInstalled​(java.lang.String dateinstalled)

        setDateInstalled

        Parameters:
        dateinstalled - a String object.
      • getLease

        public java.lang.String getLease()
        --# lease : The lease number of this asset.
        Returns:
        a String object.
      • setLease

        public void setLease​(java.lang.String lease)

        setLease

        Parameters:
        lease - a String object.
      • getLeaseExpires

        public java.lang.String getLeaseExpires()
        --# leaseExpires : The date the lease expires for this asset.
        Returns:
        a String object.
      • setLeaseExpires

        public void setLeaseExpires​(java.lang.String leaseexpires)

        setLeaseExpires

        Parameters:
        leaseexpires - a String object.
      • getSupportPhone

        public java.lang.String getSupportPhone()
        --# supportPhone : A support phone number for this asset.
        Returns:
        a String object.
      • setSupportPhone

        public void setSupportPhone​(java.lang.String supportphone)

        setSupportPhone

        Parameters:
        supportphone - a String object.
      • getMaintcontract

        public java.lang.String getMaintcontract()
        --# maintcontract : The maintenance contract number for this asset.
        Returns:
        a String object.
      • setMaintcontract

        public void setMaintcontract​(java.lang.String maintcontract)

        setMaintContract

        Parameters:
        maintcontract - a String object.
      • getMaintContractNumber

        public java.lang.String getMaintContractNumber()
        Deprecated.
        This field is provided for backwards compatibility with OpenNMS < 1.10
        --# maintContractNumber: The maintenance contract number for this asset.
        Returns:
        a String object.
      • setMaintContractNumber

        public void setMaintContractNumber​(java.lang.String maintcontract)
        Deprecated.
        This field is provided for backwards compatibility with OpenNMS < 1.10

        setMaintContractNumber

        Parameters:
        maintcontract - a String object.
      • getMaintContractExpiration

        public java.lang.String getMaintContractExpiration()

        getMaintContractExpiration

        Returns:
        a String object.
      • setMaintContractExpiration

        public void setMaintContractExpiration​(java.lang.String maintcontractexpires)

        setMaintContractExpiration

        Parameters:
        maintcontractexpires - a String object.
      • getDisplayCategory

        public java.lang.String getDisplayCategory()

        getDisplayCategory

        Returns:
        a String object.
      • setDisplayCategory

        public void setDisplayCategory​(java.lang.String displaycategory)

        setDisplayCategory

        Parameters:
        displaycategory - a String object.
      • getNotifyCategory

        public java.lang.String getNotifyCategory()

        getNotifyCategory

        Returns:
        a String object.
      • setNotifyCategory

        public void setNotifyCategory​(java.lang.String notifycategory)

        setNotifyCategory

        Parameters:
        notifycategory - a String object.
      • getPollerCategory

        public java.lang.String getPollerCategory()

        getPollerCategory

        Returns:
        a String object.
      • setPollerCategory

        public void setPollerCategory​(java.lang.String pollercategory)

        setPollerCategory

        Parameters:
        pollercategory - a String object.
      • getThresholdCategory

        public java.lang.String getThresholdCategory()

        getThresholdCategory

        Returns:
        a String object.
      • setThresholdCategory

        public void setThresholdCategory​(java.lang.String thresholdcategory)

        setThresholdCategory

        Parameters:
        thresholdcategory - a String object.
      • getComment

        public java.lang.String getComment()

        getComment

        Returns:
        a String object.
      • setComment

        public void setComment​(java.lang.String comment)

        setComment

        Parameters:
        comment - a String object.
      • getManagedObjectType

        public java.lang.String getManagedObjectType()

        getManagedObjectType

        Returns:
        a String object.
      • setManagedObjectType

        public void setManagedObjectType​(java.lang.String mot)

        setManagedObjectType

        Parameters:
        mot - a String object.
      • getManagedObjectInstance

        public java.lang.String getManagedObjectInstance()

        getManagedObjectInstance

        Returns:
        a String object.
      • setManagedObjectInstance

        public void setManagedObjectInstance​(java.lang.String moi)

        setManagedObjectInstance

        Parameters:
        moi - a String object.
      • getUsername

        public java.lang.String getUsername()

        getUsername

        Returns:
        a String object.
      • setUsername

        public void setUsername​(java.lang.String username)

        setUsername

        Parameters:
        username - a String object.
      • getPassword

        public java.lang.String getPassword()

        getPassword

        Returns:
        a String object.
      • setPassword

        public void setPassword​(java.lang.String password)

        setPassword

        Parameters:
        password - a String object.
      • getEnable

        public java.lang.String getEnable()

        getEnable

        Returns:
        a String object.
      • setEnable

        public void setEnable​(java.lang.String enable)

        setEnable

        Parameters:
        enable - a String object.
      • getConnection

        public java.lang.String getConnection()

        getConnection

        Returns:
        a String object.
      • setConnection

        public void setConnection​(java.lang.String connection)

        setConnection

        Parameters:
        connection - a String object.
      • getAutoenable

        public java.lang.String getAutoenable()

        getAutoenable

        Returns:
        a String object.
      • setAutoenable

        public void setAutoenable​(java.lang.String autoenable)

        setAutoenable

        Parameters:
        autoenable - a String object.
      • getCpu

        public java.lang.String getCpu()

        getCpu

        Returns:
        a String object.
      • setCpu

        public void setCpu​(java.lang.String cpu)

        setCpu

        Parameters:
        cpu - a String object.
      • getRam

        public java.lang.String getRam()

        getRam

        Returns:
        a String object.
      • setRam

        public void setRam​(java.lang.String ram)

        setRam

        Parameters:
        ram - a String object.
      • getSnmpcommunity

        public java.lang.String getSnmpcommunity()

        getSnmpcommunity

        Returns:
        a String object.
      • setSnmpcommunity

        public void setSnmpcommunity​(java.lang.String snmpcommunity)

        setSnmpcommunity

        Parameters:
        snmpcommunity - a String object.
      • getRackunitheight

        public java.lang.String getRackunitheight()

        getRackunitheight

        Returns:
        a String object.
      • setRackunitheight

        public void setRackunitheight​(java.lang.String rackunitheight)
      • getAdmin

        public java.lang.String getAdmin()

        getAdmin

        Returns:
        a String object.
      • setAdmin

        public void setAdmin​(java.lang.String admin)

        setAdmin

        Parameters:
        admin - a String object.
      • getAdditionalhardware

        public java.lang.String getAdditionalhardware()

        getAdditionalhardware

        Returns:
        a String object.
      • setAdditionalhardware

        public void setAdditionalhardware​(java.lang.String additionalhardware)

        setAdditionalhardware

        Parameters:
        additionalhardware - a String object.
      • getInputpower

        public java.lang.String getInputpower()

        getInputpower

        Returns:
        a String object.
      • setInputpower

        public void setInputpower​(java.lang.String inputpower)

        setInputpower

        Parameters:
        inputpower - a String object.
      • getNumpowersupplies

        public java.lang.String getNumpowersupplies()

        getNumpowersupplies

        Returns:
        a String object.
      • setNumpowersupplies

        public void setNumpowersupplies​(java.lang.String numpowersupplies)

        setNumpowersupplies

        Parameters:
        numpowersupplies - a String object.
      • getHdd6

        public java.lang.String getHdd6()

        getHdd6

        Returns:
        a String object.
      • setHdd6

        public void setHdd6​(java.lang.String hdd6)

        setHdd6

        Parameters:
        hdd6 - a String object.
      • getHdd5

        public java.lang.String getHdd5()

        getHdd5

        Returns:
        a String object.
      • setHdd5

        public void setHdd5​(java.lang.String hdd5)

        setHdd5

        Parameters:
        hdd5 - a String object.
      • getHdd4

        public java.lang.String getHdd4()

        getHdd4

        Returns:
        a String object.
      • setHdd4

        public void setHdd4​(java.lang.String hdd4)

        setHdd4

        Parameters:
        hdd4 - a String object.
      • getHdd3

        public java.lang.String getHdd3()

        getHdd3

        Returns:
        a String object.
      • setHdd3

        public void setHdd3​(java.lang.String hdd3)

        setHdd3

        Parameters:
        hdd3 - a String object.
      • getHdd2

        public java.lang.String getHdd2()

        getHdd2

        Returns:
        a String object.
      • setHdd2

        public void setHdd2​(java.lang.String hdd2)

        setHdd2

        Parameters:
        hdd2 - a String object.
      • getHdd1

        public java.lang.String getHdd1()

        getHdd1

        Returns:
        a String object.
      • setHdd1

        public void setHdd1​(java.lang.String hdd1)

        setHdd1

        Parameters:
        hdd1 - a String object.
      • getStoragectrl

        public java.lang.String getStoragectrl()

        getStoragectrl

        Returns:
        a String object.
      • setStoragectrl

        public void setStoragectrl​(java.lang.String storagectrl)

        setStoragectrl

        Parameters:
        storagectrl - a String object.
      • getAddress1

        @Deprecated
        public java.lang.String getAddress1()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setAddress1

        @Deprecated
        public void setAddress1​(java.lang.String address1)
        Deprecated.
      • getAddress2

        @Deprecated
        public java.lang.String getAddress2()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setAddress2

        @Deprecated
        public void setAddress2​(java.lang.String address2)
        Deprecated.
      • getCity

        @Deprecated
        public java.lang.String getCity()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setCity

        @Deprecated
        public void setCity​(java.lang.String city)
        Deprecated.
      • getState

        @Deprecated
        public java.lang.String getState()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setState

        @Deprecated
        public void setState​(java.lang.String state)
        Deprecated.
      • getZip

        @Deprecated
        public java.lang.String getZip()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setZip

        @Deprecated
        public void setZip​(java.lang.String zip)
        Deprecated.
      • getCountry

        @Deprecated
        public java.lang.String getCountry()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setCountry

        @Deprecated
        public void setCountry​(java.lang.String country)
        Deprecated.
      • getLongitude

        @Deprecated
        public java.lang.Double getLongitude()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setLongitude

        @Deprecated
        public void setLongitude​(java.lang.Double longitude)
        Deprecated.
      • getLatitude

        @Deprecated
        public java.lang.Double getLatitude()
        Deprecated.
        PROXY METHOD: do not delete until OnmsGeolocation is truly a separate table, or projection mapping will fail.
      • setLatitude

        @Deprecated
        public void setLatitude​(java.lang.Double latitude)
        Deprecated.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • mergeRecord

        public void mergeRecord​(OnmsAssetRecord newRecord)
        Used to merge the contents of one asset record to another. If equals implementation returns false, the merge is aborted.
        Parameters:
        newRecord - a OnmsAssetRecord object.