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

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

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

Defines an interface representing the Trunk-Group-ID grouped AVP type.
From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:

 7.2.114 Trunk-Group-ID AVP 
 The Trunk-Group-ID AVP (AVP code 851) is of type Grouped and identifies the incoming and outgoing PSTN legs.
 
 It has the following ABNF grammar: 
  Trunk-Group-ID ::= AVP Header: 851 
      [ Incoming-Trunk-Group-ID ] 
      [ Outgoing-Trunk-Group-ID ]
 

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 getIncomingTrunkGroupId()
          Returns the value of the Incoming-Trunk-Group-ID AVP, of type UTF8String.
 java.lang.String getOutgoingTrunkGroupId()
          Returns the value of the Outgoing-Trunk-Group-ID AVP, of type UTF8String.
 boolean hasIncomingTrunkGroupId()
          Returns true if the Incoming-Trunk-Group-ID AVP is present in the message.
 boolean hasOutgoingTrunkGroupId()
          Returns true if the Outgoing-Trunk-Group-ID AVP is present in the message.
 void setIncomingTrunkGroupId(java.lang.String incomingTrunkGroupId)
          Sets the value of the Incoming-Trunk-Group-ID AVP, of type UTF8String.
 void setOutgoingTrunkGroupId(java.lang.String outgoingTrunkGroupId)
          Sets the value of the Outgoing-Trunk-Group-ID 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

getIncomingTrunkGroupId

java.lang.String getIncomingTrunkGroupId()
Returns the value of the Incoming-Trunk-Group-ID AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


getOutgoingTrunkGroupId

java.lang.String getOutgoingTrunkGroupId()
Returns the value of the Outgoing-Trunk-Group-ID AVP, of type UTF8String. A return value of null implies that the AVP has not been set.


hasIncomingTrunkGroupId

boolean hasIncomingTrunkGroupId()
Returns true if the Incoming-Trunk-Group-ID AVP is present in the message.


hasOutgoingTrunkGroupId

boolean hasOutgoingTrunkGroupId()
Returns true if the Outgoing-Trunk-Group-ID AVP is present in the message.


setIncomingTrunkGroupId

void setIncomingTrunkGroupId(java.lang.String incomingTrunkGroupId)
Sets the value of the Incoming-Trunk-Group-ID AVP, of type UTF8String.


setOutgoingTrunkGroupId

void setOutgoingTrunkGroupId(java.lang.String outgoingTrunkGroupId)
Sets the value of the Outgoing-Trunk-Group-ID AVP, of type UTF8String.



Copyright © 2011. All Rights Reserved.