public interface SmDeviceTriggerInformation extends GroupedAvp
7.2.205 B SM-Device-Trigger-Information AVP The SM-Device-Trigger-Information AVP (AVP code 3405) is of type Grouped and holds the specific device trigger details for the Short Message. It has the following ABNF grammar: SM-Device-Trigger-Information ::= < AVP Header: 3405> [ MTC-IWF-Address ] [ Reference-Number ] [ Serving-Node ] [ Validity-Time ] [ Priority-Indication ] [ Application-Port-Identifier ]Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
long |
getApplicationPortIdentifier()
Returns the value of the Application-Port-Identifier AVP, of type Unsigned32.
|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
Address |
getMtcIwfAddress()
Returns the value of the MTC-IWF-Address AVP, of type Address.
|
PriorityIndication |
getPriorityIndication()
Returns the value of the Priority-Indication AVP, of type Enumerated.
|
long |
getReferenceNumber()
Returns the value of the Reference-Number AVP, of type Unsigned32.
|
ServingNode |
getServingNode()
Returns the value of the Serving-Node AVP, of type Grouped.
|
long |
getValidityTime()
Returns the value of the Validity-Time AVP, of type Unsigned32.
|
boolean |
hasApplicationPortIdentifier()
Returns true if the Application-Port-Identifier AVP is present in the SM-Device-Trigger-Information AVP.
|
boolean |
hasMtcIwfAddress()
Returns true if the MTC-IWF-Address AVP is present in the SM-Device-Trigger-Information AVP.
|
boolean |
hasPriorityIndication()
Returns true if the Priority-Indication AVP is present in the SM-Device-Trigger-Information AVP.
|
boolean |
hasReferenceNumber()
Returns true if the Reference-Number AVP is present in the SM-Device-Trigger-Information AVP.
|
boolean |
hasServingNode()
Returns true if the Serving-Node AVP is present in the SM-Device-Trigger-Information AVP.
|
boolean |
hasValidityTime()
Returns true if the Validity-Time AVP is present in the SM-Device-Trigger-Information AVP.
|
void |
removeApplicationPortIdentifier()
Removes the Application-Port-Identifier AVP from the SM-Device-Trigger-Information AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the SM-Device-Trigger-Information AVP.
|
void |
removeMtcIwfAddress()
Removes the MTC-IWF-Address AVP from the SM-Device-Trigger-Information AVP.
|
void |
removePriorityIndication()
Removes the Priority-Indication AVP from the SM-Device-Trigger-Information AVP.
|
void |
removeReferenceNumber()
Removes the Reference-Number AVP from the SM-Device-Trigger-Information AVP.
|
void |
removeServingNode()
Removes the Serving-Node AVP from the SM-Device-Trigger-Information AVP.
|
void |
removeValidityTime()
Removes the Validity-Time AVP from the SM-Device-Trigger-Information AVP.
|
void |
setApplicationPortIdentifier(long applicationPortIdentifier)
Sets the value of the Application-Port-Identifier AVP, of type Unsigned32.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setMtcIwfAddress(Address mtcIwfAddress)
Sets the value of the MTC-IWF-Address AVP, of type Address.
|
void |
setPriorityIndication(PriorityIndication priorityIndication)
Sets the value of the Priority-Indication AVP, of type Enumerated.
|
void |
setReferenceNumber(long referenceNumber)
Sets the value of the Reference-Number AVP, of type Unsigned32.
|
void |
setServingNode(ServingNode servingNode)
Sets the value of the Serving-Node AVP, of type Grouped.
|
void |
setValidityTime(long validityTime)
Sets the value of the Validity-Time AVP, of type Unsigned32.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasMtcIwfAddress()
Address getMtcIwfAddress()
void setMtcIwfAddress(Address mtcIwfAddress)
java.lang.NullPointerException
- if mtcIwfAddress
is null
.void removeMtcIwfAddress()
boolean hasReferenceNumber()
long getReferenceNumber()
hasReferenceNumber()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Reference-Number AVP has not been set.void setReferenceNumber(long referenceNumber)
void removeReferenceNumber()
boolean hasServingNode()
ServingNode getServingNode()
void setServingNode(ServingNode servingNode)
java.lang.NullPointerException
- if servingNode
is null
.void removeServingNode()
boolean hasValidityTime()
long getValidityTime()
hasValidityTime()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Validity-Time AVP has not been set.void setValidityTime(long validityTime)
void removeValidityTime()
boolean hasPriorityIndication()
PriorityIndication getPriorityIndication()
void setPriorityIndication(PriorityIndication priorityIndication)
java.lang.NullPointerException
- if priorityIndication
is null
.void removePriorityIndication()
boolean hasApplicationPortIdentifier()
long getApplicationPortIdentifier()
hasApplicationPortIdentifier()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Application-Port-Identifier AVP has not been set.void setApplicationPortIdentifier(long applicationPortIdentifier)
void removeApplicationPortIdentifier()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()