public interface AddressDomain extends GroupedAvp
7.2.8 Address-Domain AVP The Address-Domain AVP (AVP code 898) is of type Grouped and indicates the domain/network to which the associated address resides. If this AVP is present, at least one of the AVPs described within the grouping must be included. It has the following ABNF: Address-Domain ::= < AVP Header: 898 > [ Domain-Name ] [ TGPP-IMSI-MCC-MNC ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDomainName()
Returns the value of the Domain-Name AVP, of type UTF8String.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
java.lang.String |
getTgppImsiMccMnc()
Returns the value of the TGPP-IMSI-MCC-MNC AVP, of type UTF8String.
|
boolean |
hasDomainName()
Returns true if the Domain-Name AVP is present in the Address-Domain AVP.
|
boolean |
hasTgppImsiMccMnc()
Returns true if the TGPP-IMSI-MCC-MNC AVP is present in the Address-Domain AVP.
|
void |
removeDomainName()
Removes the Domain-Name AVP from the Address-Domain AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Address-Domain AVP.
|
void |
removeTgppImsiMccMnc()
Removes the TGPP-IMSI-MCC-MNC AVP from the Address-Domain AVP.
|
void |
setDomainName(java.lang.String domainName)
Sets the value of the Domain-Name AVP, of type UTF8String.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setTgppImsiMccMnc(java.lang.String tgppImsiMccMnc)
Sets the value of the TGPP-IMSI-MCC-MNC AVP, of type UTF8String.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasDomainName()
java.lang.String getDomainName()
void setDomainName(java.lang.String domainName)
java.lang.NullPointerException
- if domainName
is null
.void removeDomainName()
boolean hasTgppImsiMccMnc()
java.lang.String getTgppImsiMccMnc()
void setTgppImsiMccMnc(java.lang.String tgppImsiMccMnc)
java.lang.NullPointerException
- if tgppImsiMccMnc
is null
.void removeTgppImsiMccMnc()
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()