net.sf.sail.common.util
Class MockData

java.lang.Object
  extended by net.sf.sail.common.util.MockData

public class MockData
extends java.lang.Object

Mock data to use while developing.

Author:
turadg

Field Summary
static CurnitUuid CURNIT_ID_1
           
static OfferingUuid RUN_ID_1
           
static SessionUuid SESSION_ID_1
           
static UserUuid USER_ID_1
           
static UserUuid USER_ID_2
           
 
Constructor Summary
MockData()
           
 
Method Summary
static User fakeUser(UserUuid userUuid)
           
static Curnit getMockCurnit()
           
static Curnit getMockCurnit(Pod rootPod)
           
static Pod getMockPod(int i)
           
static java.util.Collection<IAgent> simpleAgentSet(java.util.Collection<User> users)
          Give each user an INDIVIDUAL agent and put them all in one RUN_WORKGROUP agent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURNIT_ID_1

public static final CurnitUuid CURNIT_ID_1

SESSION_ID_1

public static final SessionUuid SESSION_ID_1

RUN_ID_1

public static final OfferingUuid RUN_ID_1

USER_ID_1

public static final UserUuid USER_ID_1

USER_ID_2

public static final UserUuid USER_ID_2
Constructor Detail

MockData

public MockData()
Method Detail

fakeUser

public static User fakeUser(UserUuid userUuid)

getMockCurnit

public static Curnit getMockCurnit()

getMockCurnit

public static Curnit getMockCurnit(Pod rootPod)

getMockPod

public static Pod getMockPod(int i)

simpleAgentSet

public static java.util.Collection<IAgent> simpleAgentSet(java.util.Collection<User> users)
Give each user an INDIVIDUAL agent and put them all in one RUN_WORKGROUP agent

Returns:
collection of these agents described above


Copyright © 2004-2008 TELS Center. All Rights Reserved.