Class ImmutableNodeAssetRecord

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.model.NodeAssetRecord

    public final class ImmutableNodeAssetRecord
    extends java.lang.Object
    implements org.opennms.integration.api.v1.model.NodeAssetRecord
    An immutable implementation of NodeAssetRecord that enforces deep immutability.
    • Method Detail

      • immutableCopy

        public static org.opennms.integration.api.v1.model.NodeAssetRecord immutableCopy​(org.opennms.integration.api.v1.model.NodeAssetRecord nodeAssetRecord)
      • getVendor

        public java.lang.String getVendor()
        Specified by:
        getVendor in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getModelNumber

        public java.lang.String getModelNumber()
        Specified by:
        getModelNumber in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getAssetNumber

        public java.lang.String getAssetNumber()
        Specified by:
        getAssetNumber in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getOperatingSystem

        public java.lang.String getOperatingSystem()
        Specified by:
        getOperatingSystem in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getRegion

        public java.lang.String getRegion()
        Specified by:
        getRegion in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getDivision

        public java.lang.String getDivision()
        Specified by:
        getDivision in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getDepartment

        public java.lang.String getDepartment()
        Specified by:
        getDepartment in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getBuilding

        public java.lang.String getBuilding()
        Specified by:
        getBuilding in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getFloor

        public java.lang.String getFloor()
        Specified by:
        getFloor in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • getGeolocation

        public org.opennms.integration.api.v1.model.Geolocation getGeolocation()
        Specified by:
        getGeolocation in interface org.opennms.integration.api.v1.model.NodeAssetRecord
      • equals

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

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

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