Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


com.bea.wcp.diameter.sh
Class DataReference

java.lang.Object
  extended by com.bea.wcp.diameter.sh.DataReference


public class DataReference
extends java.lang.Object

Supported Sh data reference types.


Field Summary
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
           

 

Method Summary
 void addAvps(AvpList avps, java.lang.Object param)
           
 boolean canSubscribe()
           
static DataReference getByCode(int code)
          Returns the DataReference for the specified numeric code.
static DataReference getByName(java.lang.String name)
          Returns the DataReference for the specified name.
 int getCode()
          Returns the numeric code for this DataReference.
 java.lang.String getName()
          Return the name of this DataReference.
 java.lang.Object getParameter(Avp avp)
          Decodes parameter from specified parameter avp.
 java.lang.String getParameterName(java.lang.Object param)
           
 boolean isValid(Command cmd)
          Returns true if the specified Diameter command is valid for this particular data reference.
 java.lang.Object parseParameter(java.lang.String[] selector)
          Parses optional document selector parameter according to data reference type.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

CODE_REPOSITORY_DATA

public static final int CODE_REPOSITORY_DATA
See Also:
Constant Field Values

CODE_IMS_PUBLIC_IDENTITY

public static final int CODE_IMS_PUBLIC_IDENTITY
See Also:
Constant Field Values

CODE_IMS_USER_STATE

public static final int CODE_IMS_USER_STATE
See Also:
Constant Field Values

CODE_S_CSCF_NAME

public static final int CODE_S_CSCF_NAME
See Also:
Constant Field Values

CODE_INITIAL_FILTER_CRITERIA

public static final int CODE_INITIAL_FILTER_CRITERIA
See Also:
Constant Field Values

CODE_LOCATION_INFORMATION

public static final int CODE_LOCATION_INFORMATION
See Also:
Constant Field Values

CODE_USER_STATE

public static final int CODE_USER_STATE
See Also:
Constant Field Values

CODE_CHARGING_INFORMATION

public static final int CODE_CHARGING_INFORMATION
See Also:
Constant Field Values

CODE_MSISDN

public static final int CODE_MSISDN
See Also:
Constant Field Values

CODE_PSI_ACTIVATION

public static final int CODE_PSI_ACTIVATION
See Also:
Constant Field Values

REPOSITORY_DATA

public static final DataReference REPOSITORY_DATA

IMS_PUBLIC_IDENTITY

public static final DataReference IMS_PUBLIC_IDENTITY

IMS_USER_STATE

public static final DataReference IMS_USER_STATE

S_CSCF_NAME

public static final DataReference S_CSCF_NAME

INITIAL_FILTER_CRITERIA

public static final DataReference INITIAL_FILTER_CRITERIA

LOCATION_INFORMATION

public static final DataReference LOCATION_INFORMATION

USER_STATE

public static final DataReference USER_STATE

CHARGING_INFORMATION

public static final DataReference CHARGING_INFORMATION

MSISDN

public static final DataReference MSISDN

PSI_ACTIVATION

public static final DataReference PSI_ACTIVATION

Method Detail

getByName

public static DataReference getByName(java.lang.String name)
Returns the DataReference for the specified name.
Parameters:
name - the data reference name
Returns:
the corresponding DataReference, or null if none

getByCode

public static DataReference getByCode(int code)
Returns the DataReference for the specified numeric code.
Parameters:
code - the data reference code
Returns:
the associated DataReference, or null if none

parseParameter

public java.lang.Object parseParameter(java.lang.String[] selector)
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

public java.lang.String getName()
Return the name of this DataReference. The name is used when specifying a document selector string.
Returns:
the DataReference name

getParameterName

public java.lang.String getParameterName(java.lang.Object param)

isValid

public boolean isValid(Command cmd)
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

public java.lang.Object getParameter(Avp avp)
                              throws AvpException
Decodes parameter from specified parameter avp.
Throws:
AvpException

addAvps

public void addAvps(AvpList avps,
                    java.lang.Object param)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.