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 aSessionCounter
.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 addressjava.lang.String
get(java.lang.String key)
return value for the keyboolean
isSubset(SessionCounterAddress addressSubset)
Determine if anaddressSubset
is a subset of thisSessionCounterAddress
.java.util.Set<java.lang.String>
keySet()
unmodifiable set view of keysjava.lang.String
toString()
Return a string representation of this object.
-
-
-
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 classjava.lang.Object
-
isSubset
boolean isSubset(SessionCounterAddress addressSubset)
Determine if anaddressSubset
is a subset of thisSessionCounterAddress
.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
- , notnull
.- Returns:
true
ifaddressSubset
is a subset of thisSessionCounterAddress
-
-