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

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

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

Defines an interface representing the Event-Type grouped AVP type.

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

 7.2.32 Event-Type AVP 
 
 The Event-Type AVP (AVP code 823) is of type Grouped and contains information about the type of chargeable
 telecommunication service/event for which the accounting-request message is generated.
 
 It has the following ABNF grammar: 
  Event-Type ::= AVP Header: 823 
      [ SIP-Method ] 
      [ Event ] 
      [ Expires ]
 

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 getEvent()
          Returns the value of the Event AVP, of type UTF8String.
 long getExpires()
          Returns the value of the Expires AVP, of type Unsigned32.
 java.lang.String getSipMethod()
          Returns the value of the SIP-Method AVP, of type UTF8String.
 boolean hasEvent()
          Returns true if the Event AVP is present in the message.
 boolean hasExpires()
          Returns true if the Expires AVP is present in the message.
 boolean hasSipMethod()
          Returns true if the SIP-Method AVP is present in the message.
 void setEvent(java.lang.String event)
          Sets the value of the Event AVP, of type UTF8String.
 void setExpires(long expires)
          Sets the value of the Expires AVP, of type Unsigned32.
 void setSipMethod(java.lang.String sipMethod)
          Sets the value of the SIP-Method AVP, of type UTF8String.
 
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

getEvent

java.lang.String getEvent()
Returns the value of the Event AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


getExpires

long getExpires()
Returns the value of the Expires AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.


getSipMethod

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


hasEvent

boolean hasEvent()
Returns true if the Event AVP is present in the message.


hasExpires

boolean hasExpires()
Returns true if the Expires AVP is present in the message.


hasSipMethod

boolean hasSipMethod()
Returns true if the SIP-Method AVP is present in the message.


setEvent

void setEvent(java.lang.String event)
Sets the value of the Event AVP, of type UTF8String.


setExpires

void setExpires(long expires)
Sets the value of the Expires AVP, of type Unsigned32.


setSipMethod

void setSipMethod(java.lang.String sipMethod)
Sets the value of the SIP-Method AVP, of type UTF8String.



Copyright © 2011. All Rights Reserved.