Class OnmsHwEntityAttribute

    • Constructor Detail

      • OnmsHwEntityAttribute

        public OnmsHwEntityAttribute()
        The Constructor.
      • OnmsHwEntityAttribute

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

      • getId

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

        public void setId​(java.lang.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 java.lang.String getTypeName()
        Gets the type name.
        Returns:
        the type name
      • setTypeName

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

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

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

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

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

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

        public void setValue​(java.lang.String attributeValue)
        Sets the value.
        Parameters:
        attributeValue - the value
      • 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