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

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

public class InjectedList
extends PropertyBase
implements ServiceProperty

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

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


Constructor Summary
InjectedList(String name, List<String> values, String method)
          This builds our injected property object via standard constructor.
 
Method Summary
 List<String> getValues()
           
 void setValues(List<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

InjectedList

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

Method Detail

getValues

public List<String> getValues()

setValues

public void setValues(List<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.