net.sf.sail.core.entity
Interface IAgent

All Known Implementing Classes:
MemoryAgent

public interface IAgent

An Agent in SAIL is the entity to which a SockEntry (work record) is associated. An Agent can be, for example, one individual or the whole class.

Author:
turadg

Method Summary
 void addUser(User user)
           
 Role getRole()
           
 User[] getUserArray()
           
 void removeUser(User user)
           
 java.lang.String toString()
           
 

Method Detail

getRole

Role getRole()

addUser

void addUser(User user)
             throws RoleRuleException
Throws:
RoleRuleException

removeUser

void removeUser(User user)
                throws RoleRuleException
Throws:
RoleRuleException

getUserArray

User[] getUserArray()

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2004-2004-2006 TELS Center. All Rights Reserved.