public interface TrunkGroupId extends GroupedAvp
7.2.237 Trunk-Group-ID AVP The Trunk-Group-ID AVP (AVP code 851) is of type Grouped and identifies the incoming and outgoing PSTN legs. It has the following ABNF grammar: Trunk-Group-ID ::= <AVP Header: 851> [ Incoming-Trunk-Group-ID ] [ Outgoing-Trunk-Group-ID ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIncomingTrunkGroupId()
Returns the value of the Incoming-Trunk-Group-ID AVP, of type UTF8String.
|
java.lang.String |
getOutgoingTrunkGroupId()
Returns the value of the Outgoing-Trunk-Group-ID AVP, of type UTF8String.
|
boolean |
hasIncomingTrunkGroupId()
Returns true if the Incoming-Trunk-Group-ID AVP is present in the Trunk-Group-ID AVP.
|
boolean |
hasOutgoingTrunkGroupId()
Returns true if the Outgoing-Trunk-Group-ID AVP is present in the Trunk-Group-ID AVP.
|
void |
removeIncomingTrunkGroupId()
Removes the Incoming-Trunk-Group-ID AVP from the Trunk-Group-ID AVP.
|
void |
removeOutgoingTrunkGroupId()
Removes the Outgoing-Trunk-Group-ID AVP from the Trunk-Group-ID AVP.
|
void |
setIncomingTrunkGroupId(java.lang.String incomingTrunkGroupId)
Sets the value of the Incoming-Trunk-Group-ID AVP, of type UTF8String.
|
void |
setOutgoingTrunkGroupId(java.lang.String outgoingTrunkGroupId)
Sets the value of the Outgoing-Trunk-Group-ID AVP, of type UTF8String.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasIncomingTrunkGroupId()
java.lang.String getIncomingTrunkGroupId()
void setIncomingTrunkGroupId(java.lang.String incomingTrunkGroupId)
java.lang.NullPointerException
- if incomingTrunkGroupId
is null
.void removeIncomingTrunkGroupId()
boolean hasOutgoingTrunkGroupId()
java.lang.String getOutgoingTrunkGroupId()
void setOutgoingTrunkGroupId(java.lang.String outgoingTrunkGroupId)
java.lang.NullPointerException
- if outgoingTrunkGroupId
is null
.void removeOutgoingTrunkGroupId()