net.java.slee.resource.diameter.ro.events.avp
Interface AddressDomain

All Superinterfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp
All Known Implementing Classes:
AddressDomainImpl

public interface AddressDomain
extends net.java.slee.resource.diameter.base.events.avp.GroupedAvp

Defines an interface representing the Address-Domain grouped AVP type.

From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:

 7.2.5 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 grammar:
  Address-Domain ::= AVP Header: 898 
      [ Domain-Name ] 
      [ TGPP-IMSI-MCC-MNC ]
 

Author:
Alexandre Mendonca , Bartosz Baranowski

Field Summary
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Method Summary
 java.lang.String getDomainName()
          Returns the value of the Domain-Name AVP, of type UTF8String.
 byte[] getTgppImsiMccMnc()
          Returns the value of the TGPP-IMSI-MCC-MNC AVP, of type OctetString.
 boolean hasDomainName()
          Returns true if the Domain-Name AVP is present in the message.
 boolean hasTgppImsiMccMnc()
          Returns true if the TGPP-IMSI-MCC-MNC AVP is present in the message.
 void setDomainName(java.lang.String domainName)
          Sets the value of the Domain-Name AVP, of type UTF8String.
 void setTgppImsiMccMnc(byte[] tgppImsiMccMnc)
          Sets the value of the TGPP-IMSI-MCC-MNC AVP, of type OctetString.
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, setExtensionAvps
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue
 

Method Detail

getDomainName

java.lang.String getDomainName()
Returns the value of the Domain-Name AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


getTgppImsiMccMnc

byte[] getTgppImsiMccMnc()
Returns the value of the TGPP-IMSI-MCC-MNC AVP, of type OctetString. A return value of null implies that the AVP has not been set.


hasDomainName

boolean hasDomainName()
Returns true if the Domain-Name AVP is present in the message.


hasTgppImsiMccMnc

boolean hasTgppImsiMccMnc()
Returns true if the TGPP-IMSI-MCC-MNC AVP is present in the message.


setDomainName

void setDomainName(java.lang.String domainName)
Sets the value of the Domain-Name AVP, of type UTF8String.


setTgppImsiMccMnc

void setTgppImsiMccMnc(byte[] tgppImsiMccMnc)
Sets the value of the TGPP-IMSI-MCC-MNC AVP, of type OctetString.



Copyright © 2011. All Rights Reserved.