Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


com.bea.wcp.diameter.sh
Class UserIdentity

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


public final class UserIdentity
extends java.lang.Object

Represents a public or MSISDN user identity.


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.
Parameters:
id - the user identity string

UserIdentity

public UserIdentity(TBCD msisdn)

Method Detail

decode

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

getAvp

public Avp getAvp()

isPublic

public boolean isPublic()

isMSISDN

public boolean isMSISDN()

getPublicIdentity

public java.lang.String getPublicIdentity()

getMSISDN

public TBCD getMSISDN()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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.