org.sakaiproject.component.common.agent
Class AgentBean

java.lang.Object
  extended byorg.sakaiproject.component.common.manager.PersistableImpl
      extended byorg.sakaiproject.component.common.manager.TypeablePersistableImpl
          extended byorg.sakaiproject.component.common.manager.NodeAwareTypeablePersistableImpl
              extended byorg.sakaiproject.component.common.agent.AgentBean
All Implemented Interfaces:
Agent, NodeAware, Persistable, Typeable
Direct Known Subclasses:
GroupBean

public class AgentBean
extends NodeAwareTypeablePersistableImpl
implements Agent

Version:
$Id: AgentBean.java 632 2005-07-14 21:22:50Z janderse@umich.edu $
Author:
Lance Speelmon

Field Summary
 
Fields inherited from class org.sakaiproject.component.common.manager.NodeAwareTypeablePersistableImpl
node
 
Fields inherited from class org.sakaiproject.component.common.manager.TypeablePersistableImpl
type
 
Fields inherited from class org.sakaiproject.component.common.manager.PersistableImpl
createdBy, createdDate, id, lastModifiedBy, lastModifiedDate, uuid, version
 
Constructor Summary
AgentBean()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDisplayName()
           
 String getEnterpriseId()
          The local institution unique id (e.g. kerberos name, etc.)
 String getSessionManagerUserId()
          The unique id generated by SessionManager.
 String getSortName()
          All sorting of Agents should be performed on this representation of the object.
 int hashCode()
           
 void setDisplayName(String displayName)
           
 void setEnterpriseId(String enterpriseId)
          The local institution unique id (e.g. kerberos name, etc.)
 void setSessionManagerUserId(String sessionManagerUserId)
           
 void setSortName(String sortName)
          All sorting of Agents should be performed on this representation of the object.
 String toString()
           
 
Methods inherited from class org.sakaiproject.component.common.manager.NodeAwareTypeablePersistableImpl
getNode, setNode
 
Methods inherited from class org.sakaiproject.component.common.manager.TypeablePersistableImpl
getType, setType
 
Methods inherited from class org.sakaiproject.component.common.manager.PersistableImpl
getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, getUuid, getVersion, setCreatedBy, setCreatedDate, setId, setLastModifiedBy, setLastModifiedDate, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.api.common.manager.Persistable
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, getUuid
 
Methods inherited from interface org.sakaiproject.api.common.type.Typeable
getType, setType
 

Constructor Detail

AgentBean

public AgentBean()
Method Detail

equals

public boolean equals(Object obj)
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class TypeablePersistableImpl
See Also:
Object.toString()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface Agent
Returns:
Returns the displayName.

setDisplayName

public void setDisplayName(String displayName)
Specified by:
setDisplayName in interface Agent
Parameters:
displayName - The displayName to set.

getEnterpriseId

public String getEnterpriseId()
Description copied from interface: Agent
The local institution unique id (e.g. kerberos name, etc.)

Specified by:
getEnterpriseId in interface Agent
Returns:

setEnterpriseId

public void setEnterpriseId(String enterpriseId)
Description copied from interface: Agent
The local institution unique id (e.g. kerberos name, etc.)

Specified by:
setEnterpriseId in interface Agent
Parameters:
enterpriseId -

getSortName

public String getSortName()
Description copied from interface: Agent
All sorting of Agents should be performed on this representation of the object.

Specified by:
getSortName in interface Agent
Returns:

setSortName

public void setSortName(String sortName)
Description copied from interface: Agent
All sorting of Agents should be performed on this representation of the object.

Specified by:
setSortName in interface Agent
Parameters:
sortName -

getSessionManagerUserId

public String getSessionManagerUserId()
Description copied from interface: Agent
The unique id generated by SessionManager.

Specified by:
getSessionManagerUserId in interface Agent
Returns:
Returns the sessionManagerUserId.

setSessionManagerUserId

public void setSessionManagerUserId(String sessionManagerUserId)
Specified by:
setSessionManagerUserId in interface Agent
Parameters:
sessionManagerUserId - The sessionManagerUserId to set.