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

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

public class InjectedProperty
extends PropertyBase
implements ServiceProperty

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

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


Constructor Summary
InjectedProperty(String name, String value, String ref, String method)
          This builds our injected property object via standard constructor.
 
Method Summary
 String getRef()
           
 String getValue()
           
 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

InjectedProperty

public InjectedProperty(String name,
                        String value,
                        String ref,
                        String method)
This builds our injected property object via standard constructor.

Method Detail

getRef

public String getRef()

getValue

public String getValue()

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.