public interface OriginatorInterface extends GroupedAvp
7.2.97 Originator-Interface AVP The Originator-Interface AVP (AVP code 2009) is the group AVP which contains information related to the Interface on which the message originated. Originator-Interface ::= < AVP Header: 2009 > [ Interface-Id ] [ Interface-Text ] [ Interface-Port ] [ Interface-Type ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInterfaceId()
Returns the value of the Interface-Id AVP, of type UTF8String.
|
java.lang.String |
getInterfacePort()
Returns the value of the Interface-Port AVP, of type UTF8String.
|
java.lang.String |
getInterfaceText()
Returns the value of the Interface-Text AVP, of type UTF8String.
|
InterfaceType |
getInterfaceType()
Returns the value of the Interface-Type AVP, of type Enumerated.
|
boolean |
hasInterfaceId()
Returns true if the Interface-Id AVP is present in the Originator-Interface AVP.
|
boolean |
hasInterfacePort()
Returns true if the Interface-Port AVP is present in the Originator-Interface AVP.
|
boolean |
hasInterfaceText()
Returns true if the Interface-Text AVP is present in the Originator-Interface AVP.
|
boolean |
hasInterfaceType()
Returns true if the Interface-Type AVP is present in the Originator-Interface AVP.
|
void |
removeInterfaceId()
Removes the Interface-Id AVP from the Originator-Interface AVP.
|
void |
removeInterfacePort()
Removes the Interface-Port AVP from the Originator-Interface AVP.
|
void |
removeInterfaceText()
Removes the Interface-Text AVP from the Originator-Interface AVP.
|
void |
removeInterfaceType()
Removes the Interface-Type AVP from the Originator-Interface AVP.
|
void |
setInterfaceId(java.lang.String interfaceId)
Sets the value of the Interface-Id AVP, of type UTF8String.
|
void |
setInterfacePort(java.lang.String interfacePort)
Sets the value of the Interface-Port AVP, of type UTF8String.
|
void |
setInterfaceText(java.lang.String interfaceText)
Sets the value of the Interface-Text AVP, of type UTF8String.
|
void |
setInterfaceType(InterfaceType interfaceType)
Sets the value of the Interface-Type AVP, of type Enumerated.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasInterfaceId()
java.lang.String getInterfaceId()
void setInterfaceId(java.lang.String interfaceId)
java.lang.NullPointerException
- if interfaceId
is null
.void removeInterfaceId()
boolean hasInterfaceText()
java.lang.String getInterfaceText()
void setInterfaceText(java.lang.String interfaceText)
java.lang.NullPointerException
- if interfaceText
is null
.void removeInterfaceText()
boolean hasInterfacePort()
java.lang.String getInterfacePort()
void setInterfacePort(java.lang.String interfacePort)
java.lang.NullPointerException
- if interfacePort
is null
.void removeInterfacePort()
boolean hasInterfaceType()
InterfaceType getInterfaceType()
void setInterfaceType(InterfaceType interfaceType)
java.lang.NullPointerException
- if interfaceType
is null
.void removeInterfaceType()