public interface InterOperatorIdentifier extends GroupedAvp
7.2.60 Inter-Operator-Identifier AVP The Inter-Operator-Identifier AVP (AVP code 838) is of type Grouped and holds the identification of the network neighbours (originating and terminating) as exchanged via SIP signalling and described in [404]. It has the following ABNF grammar: Inter-Operator-Identifier ::= < AVP Header: 838 > [ Originating-IOI ] [ Terminating-IOI ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
java.lang.String |
getOriginatingIoi()
Returns the value of the Originating-IOI AVP, of type UTF8String.
|
java.lang.String |
getTerminatingIoi()
Returns the value of the Terminating-IOI AVP, of type UTF8String.
|
boolean |
hasOriginatingIoi()
Returns true if the Originating-IOI AVP is present in the Inter-Operator-Identifier AVP.
|
boolean |
hasTerminatingIoi()
Returns true if the Terminating-IOI AVP is present in the Inter-Operator-Identifier AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Inter-Operator-Identifier AVP.
|
void |
removeOriginatingIoi()
Removes the Originating-IOI AVP from the Inter-Operator-Identifier AVP.
|
void |
removeTerminatingIoi()
Removes the Terminating-IOI AVP from the Inter-Operator-Identifier AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setOriginatingIoi(java.lang.String originatingIoi)
Sets the value of the Originating-IOI AVP, of type UTF8String.
|
void |
setTerminatingIoi(java.lang.String terminatingIoi)
Sets the value of the Terminating-IOI AVP, of type UTF8String.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasOriginatingIoi()
java.lang.String getOriginatingIoi()
void setOriginatingIoi(java.lang.String originatingIoi)
java.lang.NullPointerException
- if originatingIoi
is null
.void removeOriginatingIoi()
boolean hasTerminatingIoi()
java.lang.String getTerminatingIoi()
void setTerminatingIoi(java.lang.String terminatingIoi)
java.lang.NullPointerException
- if terminatingIoi
is null
.void removeTerminatingIoi()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()