public interface OriginatorReceivedAddress extends GroupedAvp
7.2.127 Originator-Received-Address AVP The Originator-Received-Address AVP (AVP code 2027) is of type Grouped. Its purpose is to identify the originator of a message with the original, unmodified address information as received before any address manipulations has taken place in the entity generating the charging information. This field allows correlation of address information with information generated by other nodes in the message flow. It has the following ABNF grammar: Originator-Received-Address ::= < AVP Header: 2027> [ Address-Type ] [ Address-Data ] [ Address-Domain ]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.
|
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 Originator-Received-Address AVP.
|
boolean |
hasAddressDomain()
Returns true if the Address-Domain AVP is present in the Originator-Received-Address AVP.
|
boolean |
hasAddressType()
Returns true if the Address-Type AVP is present in the Originator-Received-Address AVP.
|
void |
removeAddressData()
Removes the Address-Data AVP from the Originator-Received-Address AVP.
|
void |
removeAddressDomain()
Removes the Address-Domain AVP from the Originator-Received-Address AVP.
|
void |
removeAddressType()
Removes the Address-Type AVP from the Originator-Received-Address AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Originator-Received-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 |
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()
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()