com.codemonster.surinam.core.framework.injection
Class ArrayProperty
java.lang.Object
com.codemonster.surinam.core.framework.injection.PropertyBase
com.codemonster.surinam.core.framework.injection.ArrayProperty
- All Implemented Interfaces:
- ServiceProperty
public class ArrayProperty
- 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
|
Method Summary |
String[] |
getValues()
|
void |
setValues(String[] values)
|
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. |
ArrayProperty
public ArrayProperty(String name,
String[] values,
String method)
- This builds our injected property object via standard constructor.
- Parameters:
name - The name of the attribute that this property represents.values - The values that comprise this array.method - An optional method to call to inject this array.
getValues
public String[] getValues()
setValues
public void setValues(String[] values)
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.