vub.starlab.ontoserver.database.ontologyobjects
Interface IUser

All Superinterfaces:
IOntologyObject
All Known Implementing Classes:
User

public interface IUser
extends IOntologyObject

The IUser object represents a user in the ontology server. Note that for now there is no user management yet (every ontology is anonymous), so some functionality may still be missing here (password related methods for example)

Author:
Sven Casteleyn

Method Summary
 java.lang.String getAffiliation()
          Accessor method returns the affiliation for this user
 java.lang.String getEmail()
          Accessor method for getting the email address of this user
 java.lang.String getName()
          Accessor method for getting the name of this user
 java.lang.String getUserName()
          Accessor method for getting the username of this user
 boolean isAdministrator()
          Accessor method returns true if this user is an administrator, false otherwise
 void setAdministrator(boolean isAdministrator)
          Accessor method to set whether or not this user is an administrator
 void setAffiliation(java.lang.String affiliation)
          Accessor method to set the affiliation for this user
 void setEmail(java.lang.String email)
          Accessor method to set the email address for this user
 void setName(java.lang.String name)
          Accessor method to set the name for this user
 void setUserName(java.lang.String userName)
          Accessor method to set the username for this user
 
Methods inherited from interface vub.starlab.ontoserver.database.ontologyobjects.IOntologyObject
print
 

Method Detail

getUserName

public java.lang.String getUserName()
Accessor method for getting the username of this user
Returns:
String the username of this user

getName

public java.lang.String getName()
Accessor method for getting the name of this user
Returns:
String the name of this user

getEmail

public java.lang.String getEmail()
Accessor method for getting the email address of this user
Returns:
String the email address of this user

isAdministrator

public boolean isAdministrator()
Accessor method returns true if this user is an administrator, false otherwise
Returns:
boolean true if this user is an administrator, false otherwise

getAffiliation

public java.lang.String getAffiliation()
Accessor method returns the affiliation for this user
Returns:
String the affiliation for this user

setUserName

public void setUserName(java.lang.String userName)
Accessor method to set the username for this user
Parameters:
userName - the new username for this user

setName

public void setName(java.lang.String name)
Accessor method to set the name for this user
Parameters:
name - the name for this user

setEmail

public void setEmail(java.lang.String email)
Accessor method to set the email address for this user
Parameters:
email - the new email address for this user

setAdministrator

public void setAdministrator(boolean isAdministrator)
Accessor method to set whether or not this user is an administrator
Parameters:
isAdministrator - true if the user should be granted administrator privileges, false otherwise

setAffiliation

public void setAffiliation(java.lang.String affiliation)
Accessor method to set the affiliation for this user
Parameters:
affiliation - the new affiliation for this user