com.bowstreet.builders.webapp.methods
Class BuilderHelper
java.lang.Object
com.bowstreet.builders.webapp.methods.BuilderHelper
public class BuilderHelper
- extends java.lang.Object
Base class for Helper LJO's, to get indirect reference and properties support.
This is for use with the BuilderHelperUtil class.
-
Method Summary |
java.lang.Object |
getIndirectValue(WebAppAccess webAppAccess,
java.lang.String name)
Gets an indirect value by name. |
java.lang.Object |
getProperty(WebAppAccess webAppAccess,
java.lang.String propertyName)
Gets a property by name. |
void |
setName(java.lang.String name)
Set helper LJO name (typically taken from the builder call name). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTIES_PROPNAME
public static final java.lang.String PROPERTIES_PROPNAME
- See Also:
- Constant Field Values
BuilderHelper
public BuilderHelper()
getIndirectValue
public java.lang.Object getIndirectValue(WebAppAccess webAppAccess,
java.lang.String name)
- Gets an indirect value by name. Value must have been added during regen
using BuilderHelperUtil.addIndirectReference. The "name" is the one specified in that call.
- Parameters:
webAppAccess
- WebAppAccess objectname
- The name of an indirect value you want to retrieve, as specified in BuilderHelperUtil.addIndirectReference
- Returns:
- The value of the indirect reference.
getProperty
public java.lang.Object getProperty(WebAppAccess webAppAccess,
java.lang.String propertyName)
- Gets a property by name. The property must have been set during regen
using setHelperProperty. The "name" is the one specified in that call.
- Parameters:
webAppAccess
- WebAppAccess objectpropertyName
- The name of a property you want to retrieve, as specified in BuilderHelperUtil.setHelperProperty
- Returns:
- The property value
setName
public final void setName(java.lang.String name)
- Set helper LJO name (typically taken from the builder call name).
This method is called automatically by BuilderHelperUtil.
- Parameters:
name
- The name for the helper LJO.
Copyright © 2009 IBM. All Rights Reserved.