public class User extends Object
| Modifier and Type | Field and Description |
|---|---|
HashMap |
attributes
A HashMap of String keys and String values
|
String |
password
Encrypted password
|
ArrayList |
projects
An ArrayList of String keys consisting of unique project names.
|
String |
username |
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(BasicXMLelement xml)
Read in an XML object
|
String |
getRole() |
static void |
main(String[] args) |
void |
setRole(String newRole) |
String |
toString() |
String |
toXML()
Create an XML-formatted String
|
public String username
public String password
public HashMap attributes
public ArrayList projects
public void fromXML(BasicXMLelement xml)
public String toXML()
public void setRole(String newRole)
public String getRole()
public static void main(String[] args)
Copyright © 2015. All rights reserved.