Package com.bea.wcp.diameter.sh
Class DataReference
java.lang.Object
com.bea.wcp.diameter.sh.DataReference
Supported Sh data reference types.
- Author:
- Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataReferencestatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final DataReferencestatic final DataReferencestatic final DataReferencestatic final DataReferencestatic final DataReferencestatic final DataReferencestatic final DataReferencestatic final DataReferencestatic final DataReference -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanstatic DataReferencegetByCode(int code) Returns the DataReference for the specified numeric code.static DataReferenceReturns the DataReference for the specified name.intgetCode()Returns the numeric code for this DataReference.getName()Return the name of this DataReference.getParameter(Avp avp) Decodes parameter from specified parameter avp.getParameterName(Object param) booleanReturns true if the specified Diameter command is valid for this particular data reference.parseParameter(String[] selector) Parses optional document selector parameter according to data reference type.toString()
-
Field Details
-
CODE_REPOSITORY_DATA
public static final int CODE_REPOSITORY_DATA- See Also:
-
CODE_IMS_PUBLIC_IDENTITY
public static final int CODE_IMS_PUBLIC_IDENTITY- See Also:
-
CODE_IMS_USER_STATE
public static final int CODE_IMS_USER_STATE- See Also:
-
CODE_S_CSCF_NAME
public static final int CODE_S_CSCF_NAME- See Also:
-
CODE_INITIAL_FILTER_CRITERIA
public static final int CODE_INITIAL_FILTER_CRITERIA- See Also:
-
CODE_LOCATION_INFORMATION
public static final int CODE_LOCATION_INFORMATION- See Also:
-
CODE_USER_STATE
public static final int CODE_USER_STATE- See Also:
-
CODE_CHARGING_INFORMATION
public static final int CODE_CHARGING_INFORMATION- See Also:
-
CODE_MSISDN
public static final int CODE_MSISDN- See Also:
-
CODE_PSI_ACTIVATION
public static final int CODE_PSI_ACTIVATION- See Also:
-
REPOSITORY_DATA
-
IMS_PUBLIC_IDENTITY
-
IMS_USER_STATE
-
S_CSCF_NAME
-
INITIAL_FILTER_CRITERIA
-
LOCATION_INFORMATION
-
USER_STATE
-
CHARGING_INFORMATION
-
MSISDN
-
PSI_ACTIVATION
-
-
Method Details
-
getByName
Returns the DataReference for the specified name.- Parameters:
name- the data reference name- Returns:
- the corresponding DataReference, or null if none
-
getByCode
Returns the DataReference for the specified numeric code.- Parameters:
code- the data reference code- Returns:
- the associated DataReference, or null if none
-
parseParameter
Parses optional document selector parameter according to data reference type.- Parameters:
selector- the document selector- Returns:
- the resulting parameter object, or null if none
-
getCode
public int getCode()Returns the numeric code for this DataReference.- Returns:
- the DataReference code
-
getName
Return the name of this DataReference. The name is used when specifying a document selector string.- Returns:
- the DataReference name
-
getParameterName
-
isValid
Returns true if the specified Diameter command is valid for this particular data reference.- Parameters:
cmd- the Diameter command- Returns:
- true if command is valid for this data reference, false otherwise
-
canSubscribe
public boolean canSubscribe() -
getParameter
Decodes parameter from specified parameter avp.- Throws:
AvpException
-
addAvps
-
toString
-