Oracle Corp.

Oracle WebLogic Communications Server 10.1 API Reference


com.bea.wcp.diameter.sh
Class UserIdentity

java.lang.Object
  extended bycom.bea.wcp.diameter.sh.UserIdentity

public final class UserIdentity
extends java.lang.Object

Represents a public or MSISDN user identity.

Copyright © 2008 Oracle Corp. All Rights Reserved.

Constructor Summary
UserIdentity(java.lang.String id)
          Creates a new UserIdentity for the specified identity string.
UserIdentity(TBCD msisdn)
           
 
Method Summary
static UserIdentity decode(Avp avp)
           
 boolean equals(java.lang.Object obj)
           
 Avp getAvp()
           
 TBCD getMSISDN()
           
 java.lang.String getPublicIdentity()
           
 int hashCode()
           
 boolean isMSISDN()
           
 boolean isPublic()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserIdentity

public UserIdentity(java.lang.String id)
Creates a new UserIdentity for the specified identity string. If the string starts with a digit, then it is assumed to be an MSISDN identifier. Otherwise, it is assumed to be a public user or service identity.


UserIdentity

public UserIdentity(TBCD msisdn)
Method Detail

decode

public static UserIdentity decode(Avp avp)
                           throws AvpException
Throws:
AvpException

equals

public boolean equals(java.lang.Object obj)

getAvp

public Avp getAvp()

getMSISDN

public TBCD getMSISDN()

getPublicIdentity

public java.lang.String getPublicIdentity()

hashCode

public int hashCode()

isMSISDN

public boolean isMSISDN()

isPublic

public boolean isPublic()

toString

public java.lang.String toString()

Documentation is available at
http://e-docs.bea.com/wlcp/wlss40/
Copyright 2008 Oracle Corp.