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 AUDIT07-

Method Summary
 void addUser(UserUuid user)
           
 AgentUuid getAgentId()
          This is a uuid for the agent.
 Role getRole()
           
 UserUuid[] getUserArray()
           
 void removeUser(UserUuid user)
           
 java.lang.String toString()
           
 

Method Detail

getRole

Role getRole()

addUser

void addUser(UserUuid user)
             throws RoleRuleException
Throws:
RoleRuleException

removeUser

void removeUser(UserUuid user)
                throws RoleRuleException
Throws:
RoleRuleException

getUserArray

UserUuid[] getUserArray()

toString

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

getAgentId

AgentUuid getAgentId()
This is a uuid for the agent. It is currently only used to map annotations to particular agents.

Returns:


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