|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| GuestUser.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Joey and its relative products are published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*/
|
|
| 5 |
/*
|
|
| 6 |
* Created on 2004/01/12
|
|
| 7 |
*/
|
|
| 8 |
package org.asyrinx.brownie.core.user;
|
|
| 9 |
|
|
| 10 |
import java.util.Map;
|
|
| 11 |
|
|
| 12 |
/**
|
|
| 13 |
* @author akima
|
|
| 14 |
*/
|
|
| 15 |
public class GuestUser implements IUser { |
|
| 16 |
|
|
| 17 |
/**
|
|
| 18 |
*
|
|
| 19 |
*/
|
|
| 20 | 0 |
public GuestUser() {
|
| 21 | 0 |
super();
|
| 22 |
} |
|
| 23 |
|
|
| 24 |
/**
|
|
| 25 |
* @see org.asyrinx.brownie.core.user.IUser#getUserId()
|
|
| 26 |
*/
|
|
| 27 | 0 |
public String getUserId() {
|
| 28 | 0 |
return null; |
| 29 |
} |
|
| 30 |
|
|
| 31 |
/**
|
|
| 32 |
* @see org.asyrinx.brownie.core.user.IUser#getUserName()
|
|
| 33 |
*/
|
|
| 34 | 0 |
public String getUserName() {
|
| 35 | 0 |
return null; |
| 36 |
} |
|
| 37 |
|
|
| 38 |
/**
|
|
| 39 |
* @see org.asyrinx.brownie.core.user.IUser#getProperties()
|
|
| 40 |
*/
|
|
| 41 | 0 |
public Map getProperties() {
|
| 42 | 0 |
return null; |
| 43 |
} |
|
| 44 |
|
|
| 45 |
/**
|
|
| 46 |
* @see org.asyrinx.brownie.core.user.IUser#getDisplayName()
|
|
| 47 |
*/
|
|
| 48 | 0 |
public String getDisplayName() {
|
| 49 | 0 |
return "Guest"; |
| 50 |
} |
|
| 51 |
|
|
| 52 |
/**
|
|
| 53 |
* @see org.asyrinx.brownie.core.user.IUser#setUserId(java.lang.String)
|
|
| 54 |
*/
|
|
| 55 | 0 |
public void setUserId(String userId) { |
| 56 |
//do nothing
|
|
| 57 |
} |
|
| 58 |
|
|
| 59 |
} |
|
||||||||||