net.java.slee.resource.diameter.cca.events.avp
Interface SubscriptionIdAvp

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:
SubscriptionIdAvpImpl

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

  <b>8.46. Subscription-Id AVP</b>
 
 
   The Subscription-Id AVP (AVP Code 443) is used to identify the end
   user's subscription and is of type Grouped.  The Subscription-Id AVP
   includes a Subscription-Id-Data AVP that holds the identifier and a
   Subscription-Id-Type AVP that defines the identifier type.
 
   It is defined as follows (per the grouped-avp-def of RFC 3588
   [DIAMBASE]):
 
      Subscription-Id ::= < AVP Header: 443 >
                          { Subscription-Id-Type }
                          { Subscription-Id-Data }
 

Author:
Bartosz Baranowski , Alexandre Mendonca

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 getSubscriptionIdData()
          Returns the value of the Subscription-Id-Data AVP, of type UTF8String.
 SubscriptionIdType getSubscriptionIdType()
          Returns the value of the Subscription-Id-Type AVP, of type Enumerated.
 boolean hasSubscriptionIdData()
          Returns true if the Subscription-Id-Data AVP is present in the message.
 boolean hasSubscriptionIdType()
           
 void setSubscriptionIdData(java.lang.String data)
          Sets the value of the Subscription-Id-Data AVP, of type UTF8String.
 void setSubscriptionIdType(SubscriptionIdType type)
          Sets the value of the Subscription-Id-Type AVP, of type Enumerated.
 
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

setSubscriptionIdType

void setSubscriptionIdType(SubscriptionIdType type)
Sets the value of the Subscription-Id-Type AVP, of type Enumerated.
See:SubscriptionIdType.

Parameters:
type -

getSubscriptionIdType

SubscriptionIdType getSubscriptionIdType()
Returns the value of the Subscription-Id-Type AVP, of type Enumerated. A return value of null implies that the AVP has not been set.

Returns:

hasSubscriptionIdType

boolean hasSubscriptionIdType()

setSubscriptionIdData

void setSubscriptionIdData(java.lang.String data)
Sets the value of the Subscription-Id-Data AVP, of type UTF8String.

Parameters:
data -

getSubscriptionIdData

java.lang.String getSubscriptionIdData()
Returns the value of the Subscription-Id-Data AVP, of type UTF8String. A return value of null implies that the AVP has not been set.

Returns:

hasSubscriptionIdData

boolean hasSubscriptionIdData()
Returns true if the Subscription-Id-Data AVP is present in the message.

Returns:


Copyright © 2011. All Rights Reserved.