com.sap.workspaces.module.extension

Class PrincipalInfo

java.lang.Object
  extended by com.sap.workspaces.module.extension.PrincipalInfo

public final class PrincipalInfo
extends Object

Represents a user’s role in a workspace, such as member or manager

Since:
1.1

Field Summary
protected  String ID
           
protected  WorkspaceRole workspaceRole
           
 
Constructor Summary
PrincipalInfo(WorkspaceRole workspaceRoleVal, String IDVal)
           
 
Method Summary
 String getID()
          Returns the UME role ID
 WorkspaceRole getWorkspaceRole()
          Returns the workspace role
 void setID(String newID)
          Defines the role ID
 void setWorkspaceRole(WorkspaceRole workspaceRole)
          Defines the workspace role
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workspaceRole

protected WorkspaceRole workspaceRole

ID

protected String ID
Constructor Detail

PrincipalInfo

public PrincipalInfo(WorkspaceRole workspaceRoleVal,
                     String IDVal)
Method Detail

getWorkspaceRole

public WorkspaceRole getWorkspaceRole()
Returns the workspace role

Returns:
The workspace role

setWorkspaceRole

public void setWorkspaceRole(WorkspaceRole workspaceRole)
Defines the workspace role

Parameters:
the - workspace role

getID

public String getID()
Returns the UME role ID

Returns:
The role ID

setID

public void setID(String newID)
Defines the role ID

Parameters:
newID - the UME role ID


Copyright 2011 SAP AG Complete Copyright Notice