Class OnmsHwEntityAttribute

    • Constructor Detail

      • OnmsHwEntityAttribute

        public OnmsHwEntityAttribute()
        The Constructor.
      • OnmsHwEntityAttribute

        public OnmsHwEntityAttribute​(HwEntityAttributeType type,
                                     String value)
        The Constructor.
        Parameters:
        type - the type
        value - the value
    • Method Detail

      • getId

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

        public void setId​(Integer id)
        Sets the id.
        Parameters:
        id - the id
      • getHwEntity

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

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

        public void setType​(HwEntityAttributeType attributeType)
        Sets the type.
        Parameters:
        attributeType - the type
      • getTypeName

        public String getTypeName()
        Gets the type name.
        Returns:
        the type name
      • setTypeName

        public void setTypeName​(String typeName)
        Sets the type name.
        Parameters:
        typeName - the type name
      • getTypeOid

        public String getTypeOid()
        Gets the type OID.
        Returns:
        the type OID
      • setTypeOid

        public void setTypeOid​(String typeOid)
        Sets the type OID.
        Parameters:
        typeOid - the type OID
      • getTypeClass

        public String getTypeClass()
        Gets the type class.
        Returns:
        the type class
      • setTypeClass

        public void setTypeClass​(String typeClass)
        Sets the type class.
        Parameters:
        typeClass - the type class
      • getValue

        public String getValue()
        Gets the value.
        Returns:
        the value
      • setValue

        public void setValue​(String attributeValue)
        Sets the value.
        Parameters:
        attributeValue - the value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object