com.esri.aims.mtier.model.metadata
Class User

java.lang.Object
  |
  +--com.esri.aims.mtier.model.metadata.User

public class User
extends Object

Defines a metadata user and supplies actions for manipulating users.


Constructor Summary
User()
          Constructs an instance of an User object.
 
Method Summary
 String getDescription()
          Retrurns the User description.
 String getName()
          Returns the name of the current User.
 int getRole()
          Returns the User role for this object.
 String getUrl()
          Returns the User URL value.
static User getUser(String name)
          Returns the specified user object.
 void setDescription(String newDescription)
          Sets the User description with given string.
 void setName(String newName)
          Sets the name of the User object with given string.
 void setRole(int newRole)
          Sets the User role for this object.
 void setUrl(String newUrl)
          Sets the User URL value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
Constructs an instance of an User object.

Method Detail

getUser

public static User getUser(String name)
Returns the specified user object.

Parameters:
name - the name of the User

getName

public String getName()
Returns the name of the current User.


setName

public void setName(String newName)
Sets the name of the User object with given string.

Parameters:
newName - the new name of the User

setRole

public void setRole(int newRole)
Sets the User role for this object.


getRole

public int getRole()
Returns the User role for this object.


setUrl

public void setUrl(String newUrl)
Sets the User URL value.


getUrl

public String getUrl()
Returns the User URL value.


setDescription

public void setDescription(String newDescription)
Sets the User description with given string.


getDescription

public String getDescription()
Retrurns the User description.