public interface OriginatorAddress extends GroupedAvp
7.2.70 Originator-Address AVP The Originator-Address AVP (AVP code 886) is of type Grouped. Its purpose is to identify the originator of a MM. It has the following ABNF grammar: Originator-Address ::= < AVP Header: 886 > [ 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-Address AVP.
|
boolean |
hasAddressDomain()
Returns true if the Address-Domain AVP is present in the Originator-Address AVP.
|
boolean |
hasAddressType()
Returns true if the Address-Type AVP is present in the Originator-Address AVP.
|
void |
removeAddressData()
Removes the Address-Data AVP from the Originator-Address AVP.
|
void |
removeAddressDomain()
Removes the Address-Domain AVP from the Originator-Address AVP.
|
void |
removeAddressType()
Removes the Address-Type AVP from the Originator-Address AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Originator-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()