Interface SessionCounterAddress

  • All Superinterfaces:
    com.opencloud.rhino.cmp.Encodable

    public interface SessionCounterAddress
    extends com.opencloud.rhino.cmp.Encodable
    SessionCounterAddress contains the set of key/value pairs which uniquely identify a SessionCounter.

    For example SessionCounterAddress[Service-Id=1,Rating-Group=1,Unit-Type=TIME] will have an associated SessionCounter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> entrySet()
      Returns an unmodifiable set view of the key/value pairs which are contained in this address
      java.lang.String get​(java.lang.String key)
      return value for the key
      boolean isSubset​(SessionCounterAddress addressSubset)
      Determine if an addressSubset is a subset of this SessionCounterAddress.
      java.util.Set<java.lang.String> keySet()
      unmodifiable set view of keys
      java.lang.String toString()
      Return a string representation of this object.
      • Methods inherited from interface com.opencloud.rhino.cmp.Encodable

        encode
    • Method Detail

      • keySet

        java.util.Set<java.lang.String> keySet()
        unmodifiable set view of keys
      • get

        java.lang.String get​(java.lang.String key)
        return value for the key
      • entrySet

        java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> entrySet()
        Returns an unmodifiable set view of the key/value pairs which are contained in this address
      • toString

        java.lang.String toString()
        Return a string representation of this object. For example, SessionCounterAddress[Rating-Group=1,Service-Id=1,Unit-Type=TIME] with keys
        Overrides:
        toString in class java.lang.Object
      • isSubset

        boolean isSubset​(SessionCounterAddress addressSubset)
        Determine if an addressSubset is a subset of this SessionCounterAddress.

        For example:

         [Service-Id=1, Rating-Group=1] is a subset of 
            [Service-Id=1, Rating-Group=1, CC-Unit-Type=TIME]
            [Service-Id=1, Rating-Group=1, CC-Unit-Type=SERVICE-SPECIFIC-UNITS]
         
        Parameters:
        addressSubset - , not null.
        Returns:
        true if addressSubset is a subset of this SessionCounterAddress