com.codemonster.surinam.core.framework.injection
Interface ServiceProperty
- All Known Implementing Classes:
- ArrayProperty, InjectedList, InjectedMap, InjectedProperty, PropertyBase
public interface ServiceProperty
All properties in object form here are the counterpart of the XML definitions, and as such, straddle the
space between pure typesafe objects and raw XML.
This is the top level interface for all injected properties. Subclasses will be expected to spread into
three possible categories: simple, collection and service.
User: sam
Date: Feb 20, 2010
Time: 11:34:45 AM
getName
String getName()
- The name field is synonymous with the attribute name on a service.
- Returns:
- returns the name of the attribute.
getMethod
String getMethod()
- Returns:
- Returns the name of the method to use as the object setter; it must conform to the standard
signature for setters.
toXML
String toXML()
- Returns:
- Returns an ActionDocument-compliant block of XML that represents this property.
setXmlIndentation
void setXmlIndentation(String xmlIndentation)
- Parameters:
xmlIndentation - This allows a caller to set an indentation string that will be applied to
the lines of XML generated to represent this property.
Copyright © 2010. All Rights Reserved.