public class DataReference extends Object
Modifier and Type | Field and Description |
---|---|
static DataReference |
CHARGING_INFORMATION |
static int |
CODE_CHARGING_INFORMATION |
static int |
CODE_IMS_PUBLIC_IDENTITY |
static int |
CODE_IMS_USER_STATE |
static int |
CODE_INITIAL_FILTER_CRITERIA |
static int |
CODE_LOCATION_INFORMATION |
static int |
CODE_MSISDN |
static int |
CODE_PSI_ACTIVATION |
static int |
CODE_REPOSITORY_DATA |
static int |
CODE_S_CSCF_NAME |
static int |
CODE_USER_STATE |
static DataReference |
IMS_PUBLIC_IDENTITY |
static DataReference |
IMS_USER_STATE |
static DataReference |
INITIAL_FILTER_CRITERIA |
static DataReference |
LOCATION_INFORMATION |
static DataReference |
MSISDN |
static DataReference |
PSI_ACTIVATION |
static DataReference |
REPOSITORY_DATA |
static DataReference |
S_CSCF_NAME |
static DataReference |
USER_STATE |
Modifier and Type | Method and Description |
---|---|
void |
addAvps(AvpList avps,
Object param) |
boolean |
canSubscribe() |
static DataReference |
getByCode(int code)
Returns the DataReference for the specified numeric code.
|
static DataReference |
getByName(String name)
Returns the DataReference for the specified name.
|
int |
getCode()
Returns the numeric code for this DataReference.
|
String |
getName()
Return the name of this DataReference.
|
Object |
getParameter(Avp avp)
Decodes parameter from specified parameter avp.
|
String |
getParameterName(Object param) |
boolean |
isValid(Command cmd)
Returns true if the specified Diameter command is valid for this
particular data reference.
|
Object |
parseParameter(String[] selector)
Parses optional document selector parameter according to data reference
type.
|
String |
toString() |
public static final int CODE_REPOSITORY_DATA
public static final int CODE_IMS_PUBLIC_IDENTITY
public static final int CODE_IMS_USER_STATE
public static final int CODE_S_CSCF_NAME
public static final int CODE_INITIAL_FILTER_CRITERIA
public static final int CODE_LOCATION_INFORMATION
public static final int CODE_USER_STATE
public static final int CODE_CHARGING_INFORMATION
public static final int CODE_MSISDN
public static final int CODE_PSI_ACTIVATION
public static final DataReference REPOSITORY_DATA
public static final DataReference IMS_PUBLIC_IDENTITY
public static final DataReference IMS_USER_STATE
public static final DataReference S_CSCF_NAME
public static final DataReference INITIAL_FILTER_CRITERIA
public static final DataReference LOCATION_INFORMATION
public static final DataReference USER_STATE
public static final DataReference CHARGING_INFORMATION
public static final DataReference MSISDN
public static final DataReference PSI_ACTIVATION
public static DataReference getByName(String name)
name
- the data reference namepublic static DataReference getByCode(int code)
code
- the data reference codepublic Object parseParameter(String[] selector)
selector
- the document selectorpublic int getCode()
public String getName()
public boolean isValid(Command cmd)
cmd
- the Diameter commandpublic boolean canSubscribe()
public Object getParameter(Avp avp) throws AvpException
AvpException