public interface RecipientAddress extends GroupedAvp
7.2.167 Recipient-Address AVP The Recipient-Address AVP (AVP code 1201) is of type Grouped. Its purpose is to identify the recipient of a MM. It has the following ABNF grammar: Recipient-Address ::= < AVP Header: 1201 > [ Address-Type ] [ Address-Data ] [ Address-Domain ] [ Addressee-Type ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddressData()
Returns the value of the Address-Data AVP, of type UTF8String.
|
AddressDomain |
getAddressDomain()
Returns the value of the Address-Domain AVP, of type Grouped.
|
AddresseeType |
getAddresseeType()
Returns the value of the Addressee-Type AVP, of type Enumerated.
|
AddressType |
getAddressType()
Returns the value of the Address-Type AVP, of type Enumerated.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
boolean |
hasAddressData()
Returns true if the Address-Data AVP is present in the Recipient-Address AVP.
|
boolean |
hasAddressDomain()
Returns true if the Address-Domain AVP is present in the Recipient-Address AVP.
|
boolean |
hasAddresseeType()
Returns true if the Addressee-Type AVP is present in the Recipient-Address AVP.
|
boolean |
hasAddressType()
Returns true if the Address-Type AVP is present in the Recipient-Address AVP.
|
void |
removeAddressData()
Removes the Address-Data AVP from the Recipient-Address AVP.
|
void |
removeAddressDomain()
Removes the Address-Domain AVP from the Recipient-Address AVP.
|
void |
removeAddresseeType()
Removes the Addressee-Type AVP from the Recipient-Address AVP.
|
void |
removeAddressType()
Removes the Address-Type AVP from the Recipient-Address AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Recipient-Address AVP.
|
void |
setAddressData(java.lang.String addressData)
Sets the value of the Address-Data AVP, of type UTF8String.
|
void |
setAddressDomain(AddressDomain addressDomain)
Sets the value of the Address-Domain AVP, of type Grouped.
|
void |
setAddresseeType(AddresseeType addresseeType)
Sets the value of the Addressee-Type AVP, of type Enumerated.
|
void |
setAddressType(AddressType addressType)
Sets the value of the Address-Type AVP, of type Enumerated.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasAddressType()
AddressType getAddressType()
void setAddressType(AddressType addressType)
java.lang.NullPointerException
- if addressType
is null
.void removeAddressType()
boolean hasAddressData()
java.lang.String getAddressData()
void setAddressData(java.lang.String addressData)
java.lang.NullPointerException
- if addressData
is null
.void removeAddressData()
boolean hasAddressDomain()
AddressDomain getAddressDomain()
void setAddressDomain(AddressDomain addressDomain)
java.lang.NullPointerException
- if addressDomain
is null
.void removeAddressDomain()
boolean hasAddresseeType()
AddresseeType getAddresseeType()
void setAddresseeType(AddresseeType addresseeType)
java.lang.NullPointerException
- if addresseeType
is null
.void removeAddresseeType()
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()