Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Class UserType

java.lang.Object
  extended byoracle.panama.model.UserType


public class UserType
extends java.lang.Object

Enumeration class of User Types


Field Summary
static UserType ANONYMOUS
ANONMYOUS User Type
static UserType REGISTERED
REGISTERED User Type
static UserType VIRTUAL
VIRTUAL User Type

Method Summary
static java.util.Enumeration elements()
int getIntValue()
java.lang.String getName()
static UserType getUserType(int intValue)
Lookup the user type by its integer value
static UserType getUserType(java.lang.String name)
Lookup the user type by its name

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

ANONYMOUS

public static UserType ANONYMOUS
ANONMYOUS User Type

REGISTERED

public static UserType REGISTERED
REGISTERED User Type

VIRTUAL

public static UserType VIRTUAL
VIRTUAL User Type

Method Detail

elements

public static java.util.Enumeration elements()
Returns:
enumeration of user types

getIntValue

public int getIntValue()
Returns:
the integer value

getName

public java.lang.String getName()
Returns:
the name, possible values are - anonymous, virtual, registered

getUserType

public static UserType getUserType(int intValue)
Lookup the user type by its integer value
Parameters:
intValue - the integer value of the user type
Returns:
the user type

getUserType

public static UserType getUserType(java.lang.String name)
Lookup the user type by its name
Parameters:
name - the name of the user type

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.