org.mobicents.slee.resource.diameter.ro.events.avp
Class EventTypeImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
      extended by org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
          extended by org.mobicents.slee.resource.diameter.ro.events.avp.EventTypeImpl
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp, EventType

public class EventTypeImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements EventType

EventTypeImpl.java
Project: mobicents
11:20:17 AM Apr 11, 2009

Author:
Alexandre Mendonca
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
avpSet
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
code, mnd, name, prt, type, value, vendorId
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Constructor Summary
EventTypeImpl()
           
EventTypeImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
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 class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
addAvp, addAvp, addAvp, addAvp, byteArrayValue, clone, doubleValue, equals, floatValue, getAvp, getAvp, getAvp, getAvpAsAddress, getAvpAsAddress, getAvpAsCustom, getAvpAsCustom, getAvpAsDiameterIdentity, getAvpAsDiameterIdentity, getAvpAsDiameterURI, getAvpAsDiameterURI, getAvpAsEnumerated, getAvpAsEnumerated, getAvpAsFloat32, getAvpAsFloat32, getAvpAsFloat64, getAvpAsFloat64, getAvpAsGrouped, getAvpAsGrouped, getAvpAsInteger32, getAvpAsInteger32, getAvpAsInteger64, getAvpAsInteger64, getAvpAsIPFilterRule, getAvpAsIPFilterRule, getAvpAsOctetString, getAvpAsOctetString, getAvpAsRaw, getAvpAsRaw, getAvpAsTime, getAvpAsTime, getAvpAsUnsigned32, getAvpAsUnsigned32, getAvpAsUnsigned64, getAvpAsUnsigned64, getAvpAsUTF8String, getAvpAsUTF8String, getAvpsAsAddress, getAvpsAsAddress, getAvpsAsCustom, getAvpsAsCustom, getAvpsAsDiameterIdentity, getAvpsAsDiameterIdentity, getAvpsAsDiameterURI, getAvpsAsDiameterURI, getAvpsAsEnumerated, getAvpsAsEnumerated, getAvpsAsFloat32, getAvpsAsFloat32, getAvpsAsFloat64, getAvpsAsFloat64, getAvpsAsGrouped, getAvpsAsGrouped, getAvpsAsInteger32, getAvpsAsInteger32, getAvpsAsInteger64, getAvpsAsInteger64, getAvpsAsIPFilterRule, getAvpsAsIPFilterRule, getAvpsAsOctetString, getAvpsAsOctetString, getAvpsAsRaw, getAvpsAsRaw, getAvpsAsTime, getAvpsAsTime, getAvpsAsUnsigned32, getAvpsAsUnsigned32, getAvpsAsUnsigned64, getAvpsAsUnsigned64, getAvpsAsUTF8String, getAvpsAsUTF8String, getExtensionAvps, getGenericData, getValue, hasAvp, hasAvp, intValue, longValue, setAvpAsFloat32, setAvpAsFloat64, setAvpAsGrouped, setAvpAsInteger32, setAvpAsInteger64, setAvpAsOctetString, setAvpAsRaw, setAvpAsTime, setAvpAsUnsigned32, setAvpAsUnsigned64, setAvpAsUTF8String, setExtensionAvps, setValue, stringValue
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, hashCode, octetStringValue, readExternal, toString, writeExternal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

EventTypeImpl

public EventTypeImpl()

EventTypeImpl

public EventTypeImpl(int code,
                     long vendorId,
                     int mnd,
                     int prt,
                     byte[] value)
Parameters:
code -
vendorId -
mnd -
prt -
value -
Method Detail

getEvent

public java.lang.String getEvent()
Description copied from interface: EventType
Returns the value of the Event AVP, of type UTF8String. A return value of null implies that the AVP has not been set.

Specified by:
getEvent in interface EventType

getExpires

public long getExpires()
Description copied from interface: EventType
Returns the value of the Expires AVP, of type Unsigned32. A return value of null implies that the AVP has not been set.

Specified by:
getExpires in interface EventType

getSipMethod

public java.lang.String getSipMethod()
Description copied from interface: EventType
Returns the value of the SIP-Method AVP, of type UTF8String. A return value of null implies that the AVP has not been set.

Specified by:
getSipMethod in interface EventType

hasEvent

public boolean hasEvent()
Description copied from interface: EventType
Returns true if the Event AVP is present in the message.

Specified by:
hasEvent in interface EventType

hasExpires

public boolean hasExpires()
Description copied from interface: EventType
Returns true if the Expires AVP is present in the message.

Specified by:
hasExpires in interface EventType

hasSipMethod

public boolean hasSipMethod()
Description copied from interface: EventType
Returns true if the SIP-Method AVP is present in the message.

Specified by:
hasSipMethod in interface EventType

setEvent

public void setEvent(java.lang.String event)
Description copied from interface: EventType
Sets the value of the Event AVP, of type UTF8String.

Specified by:
setEvent in interface EventType

setExpires

public void setExpires(long expires)
Description copied from interface: EventType
Sets the value of the Expires AVP, of type Unsigned32.

Specified by:
setExpires in interface EventType

setSipMethod

public void setSipMethod(java.lang.String sipMethod)
Description copied from interface: EventType
Sets the value of the SIP-Method AVP, of type UTF8String.

Specified by:
setSipMethod in interface EventType


Copyright © 2011. All Rights Reserved.