public interface MessageRepresentation
| Modifier and Type | Method and Description |
|---|---|
long |
getApplicationId() |
AvpRepresentation |
getAvp(int code)
Fetches Avp representation for given code.
|
AvpRepresentation |
getAvp(int code,
long vendorId)
Fetches Avp representation for given code and vendorId.
|
int |
getCommandCode() |
Map<AvpRepresentation,AvpRepresentation> |
getMessageAvps() |
String |
getName() |
boolean |
isAllowed(int avpCode) |
boolean |
isAllowed(int avpCode,
long vendorId) |
boolean |
isCountValidForMultiplicity(AvpSet destination,
int code) |
boolean |
isCountValidForMultiplicity(AvpSet destination,
int code,
int numberToAdd) |
boolean |
isCountValidForMultiplicity(AvpSet destination,
int code,
long vendorId) |
boolean |
isCountValidForMultiplicity(AvpSet destination,
int code,
long vendorId,
int numberToAdd) |
boolean |
isCountValidForMultiplicity(int code,
int avpCount) |
boolean |
isCountValidForMultiplicity(int code,
long vendorId,
int avpCount) |
boolean |
isRequest() |
void |
validate(Message msg,
ValidatorLevel validatorLevel) |
Map<AvpRepresentation,AvpRepresentation> getMessageAvps()
int getCommandCode()
long getApplicationId()
boolean isRequest()
String getName()
AvpRepresentation getAvp(int code)
code - - positive integer, equal to AVP code.AvpRepresentation getAvp(int code, long vendorId)
code - - positive integer, equal to AVP code.vendorId - - positive long representing vendor code.boolean isCountValidForMultiplicity(int code,
int avpCount)
boolean isCountValidForMultiplicity(int code,
long vendorId,
int avpCount)
boolean isCountValidForMultiplicity(AvpSet destination, int code, long vendorId, int numberToAdd)
boolean isCountValidForMultiplicity(AvpSet destination, int code, int numberToAdd)
boolean isCountValidForMultiplicity(AvpSet destination, int code, long vendorId)
boolean isCountValidForMultiplicity(AvpSet destination, int code)
boolean isAllowed(int avpCode,
long vendorId)
boolean isAllowed(int avpCode)
void validate(Message msg, ValidatorLevel validatorLevel) throws AvpNotAllowedException
AvpNotAllowedExceptionCopyright © 2016. All Rights Reserved.