org.mobicents.slee.resource.diameter.ro.events
Class RoCreditControlRequestImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
      extended by org.mobicents.slee.resource.diameter.ro.events.RoCreditControlMessageImpl
          extended by org.mobicents.slee.resource.diameter.ro.events.RoCreditControlRequestImpl
All Implemented Interfaces:
java.lang.Cloneable, net.java.slee.resource.diameter.base.events.DiameterMessage, RoCreditControlMessage, RoCreditControlRequest

public class RoCreditControlRequestImpl
extends RoCreditControlMessageImpl
implements RoCreditControlRequest

Author:
Bartosz Baranowski , Alexandre Mendonca

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
message
 
Fields inherited from interface net.java.slee.resource.diameter.ro.events.RoCreditControlRequest
commandCode
 
Constructor Summary
RoCreditControlRequestImpl(org.jdiameter.api.Message message)
           
 
Method Summary
 java.lang.String getLongName()
           
 net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType getMultipleServicesIndicator()
          Returns the value of the Multiple-Services-Indicator AVP, of type Enumerated.
 net.java.slee.resource.diameter.cca.events.avp.RequestedActionType getRequestedAction()
          Returns the value of the Requested-Action AVP, of type Enumerated.
 java.lang.String getServiceContextId()
          Returns the value of the Service-Context-Id AVP, of type UTF8String.
 java.lang.String getShortName()
           
 net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp[] getSubscriptionIds()
          Returns the set of Subscription-Id AVPs.
 net.java.slee.resource.diameter.base.events.avp.TerminationCauseType getTerminationCause()
          Returns the value of the Termination-Cause AVP, of type Enumerated.
 net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp getUserEquipmentInfo()
          Returns the value of the User-Equipment-Info AVP, of type Grouped.
 boolean hasMultipleServicesIndicator()
          Returns true if the Multiple-Services-Indicator AVP is present in the message.
 boolean hasRequestedAction()
          Returns true if the Requested-Action AVP is present in the message.
 boolean hasServiceContextId()
          Returns true if the Service-Context-Id AVP is present in the message.
 boolean hasTerminationCause()
          Returns true if the Termination-Cause AVP is present in the message.
 boolean hasUserEquipmentInfo()
          Returns true if the User-Equipment-Info AVP is present in the message.
 void setMultipleServicesIndicator(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType multipleServicesIndicator)
          Sets the value of the Multiple-Services-Indicator AVP, of type Enumerated.
 void setRequestedAction(net.java.slee.resource.diameter.cca.events.avp.RequestedActionType requestedAction)
          Sets the value of the Requested-Action AVP, of type Enumerated.
 void setServiceContextId(java.lang.String serviceContextId)
          Sets the value of the Service-Context-Id AVP, of type UTF8String.
 void setSubscriptionId(net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp subscriptionId)
          Sets a single Subscription-Id AVP in the message, of type Grouped.
 void setSubscriptionIds(net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp[] subscriptionIds)
          Sets the set of Subscription-Id AVPs, with all the values in the given array.
 void setTerminationCause(net.java.slee.resource.diameter.base.events.avp.TerminationCauseType terminationCause)
          Sets the value of the Termination-Cause AVP, of type Enumerated.
 void setUserEquipmentInfo(net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp userEquipmentInfo)
          Sets the value of the User-Equipment-Info AVP, of type Grouped.
 
Methods inherited from class org.mobicents.slee.resource.diameter.ro.events.RoCreditControlMessageImpl
getCcRequestNumber, getCcRequestType, getMultipleServicesCreditControls, getServiceInformation, hasCcRequestNumber, hasCcRequestType, hasMultipleServicesCreditControl, hasServiceInformation, setCcRequestNumber, setCcRequestType, setMultipleServicesCreditControl, setMultipleServicesCreditControls, setServiceInformation
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl
addAvp, addAvp, addAvp, addAvp, clone, getAcctApplicationId, getAuthApplicationId, 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, getAvps, 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, getCommand, getData, getDestinationHost, getDestinationRealm, getErrorMessage, getErrorReportingHost, getEventTimestamp, getExtensionAvps, getFailedAvp, getFailedAvps, getGenericData, getHeader, getOriginHost, getOriginRealm, getOriginStateId, getProxyInfos, getRedirectHosts, getRedirectHostUsage, getRedirectMaxCacheTime, getResultCode, getRouteRecords, getSessionId, getUserName, getVendorSpecificApplicationId, hasAcctApplicationId, hasAuthApplicationId, hasAvp, hasAvp, hasDestinationHost, hasDestinationRealm, hasErrorMessage, hasErrorReportingHost, hasEventTimestamp, hasFailedAvp, hasOriginHost, hasOriginRealm, hasOriginStateId, hasRedirectHosts, hasRedirectHostUsage, hasRedirectMaxCacheTime, hasResultCode, hasSessionId, hasUserName, hasVendorSpecificApplicationId, removeData, reportAvpFetchError, setAcctApplicationId, setAuthApplicationId, setAvpAsFloat32, setAvpAsFloat64, setAvpAsGrouped, setAvpAsInteger32, setAvpAsInteger64, setAvpAsOctetString, setAvpAsRaw, setAvpAsTime, setAvpAsUnsigned32, setAvpAsUnsigned64, setAvpAsUTF8String, setData, setDestinationHost, setDestinationRealm, setErrorMessage, setErrorReportingHost, setEventTimestamp, setExtensionAvps, setFailedAvp, setFailedAvps, setOriginHost, setOriginRealm, setOriginStateId, setProxyInfo, setProxyInfos, setRedirectHost, setRedirectHosts, setRedirectHostUsage, setRedirectMaxCacheTime, setResultCode, setRouteRecord, setRouteRecords, setSessionId, setUserName, setVendorSpecificApplicationId, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.java.slee.resource.diameter.ro.events.RoCreditControlRequest
getEventTimestamp, getOriginStateId, getUserName, hasEventTimestamp, hasOriginStateId, hasUserName, setEventTimestamp, setOriginStateId, setUserName
 
Methods inherited from interface net.java.slee.resource.diameter.ro.events.RoCreditControlMessage
getAuthApplicationId, getCcRequestNumber, getCcRequestType, getMultipleServicesCreditControls, getProxyInfos, getRouteRecords, getServiceInformation, hasAuthApplicationId, hasCcRequestNumber, hasCcRequestType, hasMultipleServicesCreditControl, hasServiceInformation, setAuthApplicationId, setCcRequestNumber, setCcRequestType, setMultipleServicesCreditControl, setMultipleServicesCreditControls, setProxyInfo, setProxyInfos, setRouteRecord, setRouteRecords, setServiceInformation
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.DiameterMessage
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getExtensionAvps, getHeader, getOriginHost, getOriginRealm, getSessionId, hasDestinationHost, hasDestinationRealm, hasOriginHost, hasOriginRealm, hasSessionId, setDestinationHost, setDestinationRealm, setExtensionAvps, setOriginHost, setOriginRealm, setSessionId
 

Constructor Detail

RoCreditControlRequestImpl

public RoCreditControlRequestImpl(org.jdiameter.api.Message message)
Parameters:
message -
Method Detail

getServiceContextId

public java.lang.String getServiceContextId()
Description copied from interface: RoCreditControlRequest
Returns the value of the Service-Context-Id AVP, of type UTF8String.

Specified by:
getServiceContextId in interface RoCreditControlRequest
Returns:

setServiceContextId

public void setServiceContextId(java.lang.String serviceContextId)
                         throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlRequest
Sets the value of the Service-Context-Id AVP, of type UTF8String.

Specified by:
setServiceContextId in interface RoCreditControlRequest
Throws:
java.lang.IllegalStateException

hasServiceContextId

public boolean hasServiceContextId()
Description copied from interface: RoCreditControlRequest
Returns true if the Service-Context-Id AVP is present in the message.

Specified by:
hasServiceContextId in interface RoCreditControlRequest
Returns:

getSubscriptionIds

public net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp[] getSubscriptionIds()
Description copied from interface: RoCreditControlRequest
Returns the set of Subscription-Id AVPs.

Specified by:
getSubscriptionIds in interface RoCreditControlRequest
Returns:

setSubscriptionId

public void setSubscriptionId(net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp subscriptionId)
                       throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlRequest
Sets a single Subscription-Id AVP in the message, of type Grouped.

Specified by:
setSubscriptionId in interface RoCreditControlRequest
Throws:
java.lang.IllegalStateException

setSubscriptionIds

public void setSubscriptionIds(net.java.slee.resource.diameter.cca.events.avp.SubscriptionIdAvp[] subscriptionIds)
                        throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlRequest
Sets the set of Subscription-Id AVPs, with all the values in the given array.

Specified by:
setSubscriptionIds in interface RoCreditControlRequest
Throws:
java.lang.IllegalStateException

getTerminationCause

public net.java.slee.resource.diameter.base.events.avp.TerminationCauseType getTerminationCause()
Description copied from interface: RoCreditControlRequest
Returns the value of the Termination-Cause AVP, of type Enumerated.

Specified by:
getTerminationCause in interface RoCreditControlRequest
Returns:

setTerminationCause

public void setTerminationCause(net.java.slee.resource.diameter.base.events.avp.TerminationCauseType terminationCause)
                         throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlRequest
Sets the value of the Termination-Cause AVP, of type Enumerated.

Specified by:
setTerminationCause in interface RoCreditControlRequest
Throws:
java.lang.IllegalStateException

hasTerminationCause

public boolean hasTerminationCause()
Description copied from interface: RoCreditControlRequest
Returns true if the Termination-Cause AVP is present in the message.

Specified by:
hasTerminationCause in interface RoCreditControlRequest
Returns:

getRequestedAction

public net.java.slee.resource.diameter.cca.events.avp.RequestedActionType getRequestedAction()
Description copied from interface: RoCreditControlRequest
Returns the value of the Requested-Action AVP, of type Enumerated.

Specified by:
getRequestedAction in interface RoCreditControlRequest
Returns:

setRequestedAction

public void setRequestedAction(net.java.slee.resource.diameter.cca.events.avp.RequestedActionType requestedAction)
                        throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlRequest
Sets the value of the Requested-Action AVP, of type Enumerated.

Specified by:
setRequestedAction in interface RoCreditControlRequest
Throws:
java.lang.IllegalStateException

hasRequestedAction

public boolean hasRequestedAction()
Description copied from interface: RoCreditControlRequest
Returns true if the Requested-Action AVP is present in the message.

Specified by:
hasRequestedAction in interface RoCreditControlRequest
Returns:

getMultipleServicesIndicator

public net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType getMultipleServicesIndicator()
Description copied from interface: RoCreditControlRequest
Returns the value of the Multiple-Services-Indicator AVP, of type Enumerated.

Specified by:
getMultipleServicesIndicator in interface RoCreditControlRequest
Returns:

setMultipleServicesIndicator

public void setMultipleServicesIndicator(net.java.slee.resource.diameter.cca.events.avp.MultipleServicesIndicatorType multipleServicesIndicator)
                                  throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlRequest
Sets the value of the Multiple-Services-Indicator AVP, of type Enumerated.

Specified by:
setMultipleServicesIndicator in interface RoCreditControlRequest
Throws:
java.lang.IllegalStateException

hasMultipleServicesIndicator

public boolean hasMultipleServicesIndicator()
Description copied from interface: RoCreditControlRequest
Returns true if the Multiple-Services-Indicator AVP is present in the message.

Specified by:
hasMultipleServicesIndicator in interface RoCreditControlRequest
Returns:

getUserEquipmentInfo

public net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp getUserEquipmentInfo()
Description copied from interface: RoCreditControlRequest
Returns the value of the User-Equipment-Info AVP, of type Grouped.

Specified by:
getUserEquipmentInfo in interface RoCreditControlRequest
Returns:

setUserEquipmentInfo

public void setUserEquipmentInfo(net.java.slee.resource.diameter.cca.events.avp.UserEquipmentInfoAvp userEquipmentInfo)
                          throws java.lang.IllegalStateException
Description copied from interface: RoCreditControlRequest
Sets the value of the User-Equipment-Info AVP, of type Grouped.

Specified by:
setUserEquipmentInfo in interface RoCreditControlRequest
Throws:
java.lang.IllegalStateException

hasUserEquipmentInfo

public boolean hasUserEquipmentInfo()
Description copied from interface: RoCreditControlRequest
Returns true if the User-Equipment-Info AVP is present in the message.

Specified by:
hasUserEquipmentInfo in interface RoCreditControlRequest
Returns:

getLongName

public java.lang.String getLongName()
Specified by:
getLongName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl

getShortName

public java.lang.String getShortName()
Specified by:
getShortName in class org.mobicents.slee.resource.diameter.base.events.DiameterMessageImpl


Copyright © 2011. All Rights Reserved.