Class OnmsHwEntityAlias

    • Constructor Detail

      • OnmsHwEntityAlias

        public OnmsHwEntityAlias()
        The Constructor.
      • OnmsHwEntityAlias

        public OnmsHwEntityAlias​(Integer index,
                                 String oid)
        The Constructor.
        Parameters:
        index - the alias index
        oid - the alias oid
    • Method Detail

      • getId

        public Integer getId()
        Returns:
        the id
      • setId

        public void setId​(Integer id)
        Parameters:
        id - the m_id to set
      • getHwEntity

        public OnmsHwEntity getHwEntity()
        Gets the hardware entity.
        Returns:
        the hardware entity
      • getHwEntityId

        public Integer getHwEntityId()
      • setHwEntityId

        public void setHwEntityId​(Integer hwEntityId)
      • setHwEntity

        public void setHwEntity​(OnmsHwEntity hwEntity)
        Sets the hardware entity.
        Parameters:
        hwEntity - the hardware entity
      • getIndex

        public Integer getIndex()
        Returns:
        the m_entAliasId
      • setIndex

        public void setIndex​(Integer index)
        Parameters:
        index - the index to set
      • getOid

        public String getOid()
        Returns:
        the m_entAliasOid
      • setOid

        public void setOid​(String oid)
        Parameters:
        oid - the oid to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object