Class OnmsHwEntityAlias

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OnmsHwEntityAlias>

    @Entity
    public class OnmsHwEntityAlias
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<OnmsHwEntityAlias>
    See Also:
    Serialized Form
    • Constructor Detail

      • OnmsHwEntityAlias

        public OnmsHwEntityAlias()
        The Constructor.
      • OnmsHwEntityAlias

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

      • getId

        public java.lang.Integer getId()
        Returns:
        the id
      • setId

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

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

        public java.lang.Integer getHwEntityId()
      • setHwEntityId

        public void setHwEntityId​(java.lang.Integer hwEntityId)
      • setHwEntity

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

        public java.lang.Integer getIndex()
        Returns:
        the m_entAliasId
      • setIndex

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

        public java.lang.String getOid()
        Returns:
        the m_entAliasOid
      • setOid

        public void setOid​(java.lang.String oid)
        Parameters:
        oid - the oid to set
      • toString

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

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

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