EMMA Coverage Report (generated Fri Sep 15 10:32:43 EDT 2006)
[all classes][edu.iu.uis.sit.portal.user]

COVERAGE SUMMARY FOR SOURCE FILE [RoleInformation.java]

nameclass, %method, %block, %line, %
RoleInformation.java0%   (0/1)0%   (0/2)0%   (0/14)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class RoleInformation0%   (0/1)0%   (0/2)0%   (0/14)0%   (0/4)
RoleInformation (): void 0%   (0/1)0%   (0/8)0%   (0/3)
getAttribute (String): String 0%   (0/1)0%   (0/6)0%   (0/1)

1package edu.iu.uis.sit.portal.user;
2 
3import java.io.Serializable;
4import java.util.HashMap;
5import java.util.Map;
6 
7public class RoleInformation implements Serializable {
8    
9    /** JSR-168: PLT.D */
10    public static final String USER_BDATE = "user.bdate";
11    public static final String USER_GENDER = "user.gender";
12    public static final String USER_EMPLOYER = "user.employer";
13    public static final String USER_DEPARTMENT = "user.department";
14    public static final String USER_JOBTITLE = "user.jobtitle";
15    public static final String USER_NAME_PREFIX = "user.name.prefix";
16    public static final String USER_NAME_GIVEN = "user.name.given";
17    public static final String USER_NAME_FAMILY = "user.name.family";
18    public static final String USER_NAME_MIDDLE = "user.name.middle";
19    public static final String USER_NAME_SUFFIX = "user.name.suffix";
20    public static final String USER_NAME_NICKNAME = "user.name.nickname";
21 
22    // TODO: Add the rest of the attributes from the spec and any
23    //       IU specific attributes
24        
25    private Map<String,String> attributes;
26  
27    // TODO: Pass in the EDS objects to set up the attributes
28    public RoleInformation() {
29        attributes = new HashMap<String,String>();
30    }
31    
32    public String getAttribute(String key) {
33        return attributes.get(key);
34    }
35        
36}

[all classes][edu.iu.uis.sit.portal.user]
EMMA 2.0.5312 (C) Vladimir Roubtsov