com.ibm.diameter.sh.util
Class PSIActivation

java.lang.Object
  extended by com.ibm.diameter.sh.util.PSIActivation

public class PSIActivation
extends java.lang.Object

The PSIActivation object correlates to the PSIActivation element defined in ShDataType.xsd. The ShDataType.xsd schema defines the following states for PSIActivation:

See Also:
com.ibm.diameter.sh.DiameterShService#getPSIActivation

Field Summary
static int ACTIVE
           
static int INACTIVE
           
 
Constructor Summary
PSIActivation()
           
 
Method Summary
 int getActivation()
          Used by an IMS Application Server application to retrieve the PSIActivation value.
static boolean isPSIActivationDefined(int value)
          Used by the Sh subscriber profile Web service to determine if the PSIActivation value received from the HSS is recognized as a valid activation value.
 void setActivation(int activation)
          Used by the Sh subscriber profile Web service to set PSIActivation after parsing the XML file received from the HSS.
 java.lang.String toString()
          Debug method that returns the PSIActivation as a String for inclusion in (English only) trace logs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INACTIVE

public static final int INACTIVE
See Also:
Constant Field Values

ACTIVE

public static final int ACTIVE
See Also:
Constant Field Values
Constructor Detail

PSIActivation

public PSIActivation()
Method Detail

getActivation

public int getActivation()
Used by an IMS Application Server application to retrieve the PSIActivation value.

Returns:
the activation value

setActivation

public void setActivation(int activation)
Used by the Sh subscriber profile Web service to set PSIActivation after parsing the XML file received from the HSS.

Parameters:
Sets - the PSIActivation.

isPSIActivationDefined

public static boolean isPSIActivationDefined(int value)
Used by the Sh subscriber profile Web service to determine if the PSIActivation value received from the HSS is recognized as a valid activation value.

Parameters:
state - value to be tested
Returns:
boolean indicating whether the specified activation value is valid

toString

public java.lang.String toString()
Debug method that returns the PSIActivation as a String for inclusion in (English only) trace logs.

Overrides:
toString in class java.lang.Object
Returns:
The String representation of this object for debug purposes only.


Copyright © 2006 IBM Corp. All Rights Reserved.