umm.api
Class User

java.lang.Object
  extended by umm.api.User

public class User
extends java.lang.Object


Field Summary
static int ADMIN
           
static java.lang.String ADMIN_STR
           
static int NORMAL
           
static java.lang.String NORMAL_STR
           
 
Constructor Summary
User()
           
User(java.lang.String name)
           
 
Method Summary
 boolean compare(User user)
           
 int getActive()
           
 int getId()
           
 java.lang.String getPassword()
           
 java.lang.String getTypeStr()
           
 java.lang.String getUserName()
           
 int getUserType()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setActive(int a)
           
 void setId(int id)
           
 void setPassword(java.lang.String password)
           
 void setUserName(java.lang.String userName)
           
 void setUserType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORMAL_STR

public static final java.lang.String NORMAL_STR
See Also:
Constant Field Values

ADMIN_STR

public static final java.lang.String ADMIN_STR
See Also:
Constant Field Values

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

ADMIN

public static final int ADMIN
See Also:
Constant Field Values
Constructor Detail

User

public User()

User

public User(java.lang.String name)
Method Detail

getUserName

public java.lang.String getUserName()
Returns:
the userName

setUserName

public void setUserName(java.lang.String userName)
Parameters:
userName - the userName to set

getPassword

public java.lang.String getPassword()
Returns:
The password. A User object retrieved with getUser() will have an encrypted (i.e., unreadable) password.

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - the password to set

getUserType

public int getUserType()
Returns:
the type

setUserType

public void setUserType(int type)
Parameters:
type - the type to set

getTypeStr

public java.lang.String getTypeStr()

getActive

public int getActive()

isActive

public boolean isActive()
Returns:
the active

setActive

public void setActive(boolean active)
Parameters:
active - the active to set

setActive

public void setActive(int a)

compare

public boolean compare(User user)

getId

public int getId()

setId

public void setId(int id)
Parameters:
id - the id to set


All of the documentation and software included in this and any other Informatica, Inc. "Ultra Messaging" Release is Copyright (C) 2004-2014, Informatica Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted only as covered by the terms of a valid software license agreement with Informatica Inc. Copyright © 2004-2014, Informatica Corporation. All Rights Reserved.