Class KeyedNetricsRecord

  • All Implemented Interfaces:
    Keyed

    public class KeyedNetricsRecord
    extends java.lang.Object
    implements Keyed
    Binds NetricsBaseRecord to interface Keyed.
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyedNetricsRecord​(com.netrics.likeit.NetricsBaseRecord rec)
      Create a KeyedNetricsRecord instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Returns the key of the object.
      com.netrics.likeit.NetricsBaseRecord getRecord()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyedNetricsRecord

        public KeyedNetricsRecord​(com.netrics.likeit.NetricsBaseRecord rec)
        Create a KeyedNetricsRecord instance.
        Parameters:
        rec - record to wrap.
    • Method Detail

      • getRecord

        public com.netrics.likeit.NetricsBaseRecord getRecord()
        Returns:
        The contained record
      • getKey

        public java.lang.String getKey()
        Description copied from interface: Keyed
        Returns the key of the object.
        Specified by:
        getKey in interface Keyed
        Returns:
        the key of the object.