Oracle WebLogic Communications Server 10.1 API Reference
com.bea.wcp.diameter.sh
Class UserIdentity
java.lang.Object
com.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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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)
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()