Skip navigation links
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.
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.
- Parameters:
id
- the user identity string
UserIdentity
public UserIdentity(TBCD msisdn)
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
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.