|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--vub.starlab.ontoserver.database.ontologyobjects.User
| Constructor Summary | |
User(java.lang.String userName)
|
|
User(java.lang.String userName,
java.lang.String name,
java.lang.String email,
java.lang.String password,
boolean isAdministrator,
java.lang.String affiliation)
|
|
| 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 |
print()
Prints the content of the ontology object |
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public User(java.lang.String userName)
public User(java.lang.String userName,
java.lang.String name,
java.lang.String email,
java.lang.String password,
boolean isAdministrator,
java.lang.String affiliation)
| Method Detail |
public void print()
IOntologyObjectprint in interface IOntologyObjectpublic java.lang.String getUserName()
IUsergetUserName in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUserpublic java.lang.String getName()
IUsergetName in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUserpublic java.lang.String getEmail()
IUsergetEmail in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUserpublic boolean isAdministrator()
IUserisAdministrator in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUserpublic java.lang.String getAffiliation()
IUsergetAffiliation in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUserpublic void setUserName(java.lang.String userName)
IUsersetUserName in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUseruserName - the new username for this userpublic void setName(java.lang.String name)
IUsersetName in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUsername - the name for this userpublic void setEmail(java.lang.String email)
IUsersetEmail in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUseremail - the new email address for this userpublic void setAdministrator(boolean IsAdministrator)
IUsersetAdministrator in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUserisAdministrator - true if the user should be granted administrator privileges, false otherwisepublic void setAffiliation(java.lang.String Affiliation)
IUsersetAffiliation in interface IUservub.starlab.ontoserver.database.ontologyobjects.IUseraffiliation - the new affiliation for this user
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||