org.sakaiproject.mock.domain
Class Placement

java.lang.Object
  extended by org.sakaiproject.mock.domain.Placement
All Implemented Interfaces:
org.sakaiproject.tool.api.Placement

public class Placement
extends Object
implements org.sakaiproject.tool.api.Placement


Constructor Summary
Placement(org.sakaiproject.tool.api.Tool tool, String context)
           
 
Method Summary
 Properties getConfig()
           
 String getContext()
           
 String getId()
           
 Properties getPlacementConfig()
           
 String getTitle()
           
 org.sakaiproject.tool.api.Tool getTool()
           
 String getToolId()
           
 void save()
           
 void setConfig(Properties config)
           
 void setContext(String context)
           
 void setId(String id)
           
 void setPlacementConfig(Properties placementConfig)
           
 void setTitle(String title)
           
 void setTool(String toolId, org.sakaiproject.tool.api.Tool tool)
           
 void setTool(org.sakaiproject.tool.api.Tool tool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Placement

public Placement(org.sakaiproject.tool.api.Tool tool,
                 String context)
Method Detail

getToolId

public String getToolId()
Specified by:
getToolId in interface org.sakaiproject.tool.api.Placement

save

public void save()
Specified by:
save in interface org.sakaiproject.tool.api.Placement

getConfig

public Properties getConfig()
Specified by:
getConfig in interface org.sakaiproject.tool.api.Placement

setConfig

public void setConfig(Properties config)

getContext

public String getContext()
Specified by:
getContext in interface org.sakaiproject.tool.api.Placement

setContext

public void setContext(String context)

getId

public String getId()
Specified by:
getId in interface org.sakaiproject.tool.api.Placement

setId

public void setId(String id)

getPlacementConfig

public Properties getPlacementConfig()
Specified by:
getPlacementConfig in interface org.sakaiproject.tool.api.Placement

setPlacementConfig

public void setPlacementConfig(Properties placementConfig)

getTitle

public String getTitle()
Specified by:
getTitle in interface org.sakaiproject.tool.api.Placement

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface org.sakaiproject.tool.api.Placement

getTool

public org.sakaiproject.tool.api.Tool getTool()
Specified by:
getTool in interface org.sakaiproject.tool.api.Placement

setTool

public void setTool(org.sakaiproject.tool.api.Tool tool)

setTool

public void setTool(String toolId,
                    org.sakaiproject.tool.api.Tool tool)
Specified by:
setTool in interface org.sakaiproject.tool.api.Placement


Copyright © 2003-2013 Sakai Project. All Rights Reserved.