org.sakaiproject.tool.assessment.osid.shared.impl
Class AgentImpl

java.lang.Object
  extended byorg.sakaiproject.tool.assessment.osid.shared.impl.AgentImpl
All Implemented Interfaces:
org.osid.agent.Agent, Serializable

public class AgentImpl
extends Object
implements org.osid.agent.Agent

A Stanford implementation of Agent for AAM/Navigo.

Author:
Rachel Gollub
See Also:
Serialized Form

Constructor Summary
AgentImpl(String pname, org.osid.shared.Type ptype, org.osid.shared.Id pid)
           
 
Method Summary
 String getDisplayName()
           
 org.osid.shared.Id getId()
           
 org.osid.shared.PropertiesIterator getProperties()
           
 org.osid.shared.Properties getPropertiesByType(org.osid.shared.Type propertiesType)
           
 org.osid.shared.TypeIterator getPropertiesTypes()
           
 org.osid.shared.TypeIterator getPropertyTypes()
           
 org.osid.shared.Type getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentImpl

public AgentImpl(String pname,
                 org.osid.shared.Type ptype,
                 org.osid.shared.Id pid)
Method Detail

getId

public org.osid.shared.Id getId()
Specified by:
getId in interface org.osid.agent.Agent

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface org.osid.agent.Agent

getType

public org.osid.shared.Type getType()
Specified by:
getType in interface org.osid.agent.Agent

getProperties

public org.osid.shared.PropertiesIterator getProperties()
Specified by:
getProperties in interface org.osid.agent.Agent

getPropertiesTypes

public org.osid.shared.TypeIterator getPropertiesTypes()
                                                throws org.osid.agent.AgentException
Throws:
org.osid.agent.AgentException

getPropertiesByType

public org.osid.shared.Properties getPropertiesByType(org.osid.shared.Type propertiesType)
                                               throws org.osid.agent.AgentException
Specified by:
getPropertiesByType in interface org.osid.agent.Agent
Throws:
org.osid.agent.AgentException

getPropertyTypes

public org.osid.shared.TypeIterator getPropertyTypes()
                                              throws org.osid.agent.AgentException
Specified by:
getPropertyTypes in interface org.osid.agent.Agent
Throws:
org.osid.agent.AgentException