com.codemonster.surinam.core.framework.injection
Class InjectedMap

java.lang.Object
  extended by com.codemonster.surinam.core.framework.injection.PropertyBase
      extended by com.codemonster.surinam.core.framework.injection.InjectedMap
All Implemented Interfaces:
ServiceProperty

public class InjectedMap
extends PropertyBase
implements ServiceProperty

This class represents and encapsulates the concept of an injected Map property.

User: sam Date: Feb 14, 2010 Time: 10:35:02 AM


Constructor Summary
InjectedMap(String name, Map<String,String> values, String method)
          This builds our injected property object via standard constructor.
 
Method Summary
 Map<String,String> getValues()
           
 void setValues(Map<String,String> value)
           
 String toXML()
          Putting this method here will make it clear that while it is required by the interface, we expect subclasses to provide the appropriate implementations.
 
Methods inherited from class com.codemonster.surinam.core.framework.injection.PropertyBase
getMethod, getName, getTabValue, setMethod, setName, setTabValue, setXmlIndentation, setXmlIndentation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.codemonster.surinam.core.framework.injection.ServiceProperty
getMethod, getName, setXmlIndentation
 

Constructor Detail

InjectedMap

public InjectedMap(String name,
                   Map<String,String> values,
                   String method)
This builds our injected property object via standard constructor.

Method Detail

getValues

public Map<String,String> getValues()

setValues

public void setValues(Map<String,String> value)

toXML

public String toXML()
Description copied from class: PropertyBase
Putting this method here will make it clear that while it is required by the interface, we expect subclasses to provide the appropriate implementations. This is important as these classes will be used when generating new Action Documents.

Specified by:
toXML in interface ServiceProperty
Specified by:
toXML in class PropertyBase
Returns:
Returns the XML form of this property.


Copyright © 2010. All Rights Reserved.