atg.droplet
Class ArrayOfBeanTyperParamDescriptor
java.lang.Object
java.beans.FeatureDescriptor
atg.beans.SerializableFeatureDescriptor
atg.droplet.ParamDescriptor
atg.droplet.DynamicParamDescriptor
atg.droplet.ArrayOfBeanTyperParamDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public class ArrayOfBeanTyperParamDescriptor
- extends DynamicParamDescriptor
This is a dynamic ParamDescriptor which allows you to define an output
parameter whose type is an element of an array based input parameter.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Methods inherited from class atg.beans.SerializableFeatureDescriptor |
copyFeatureDescriptor, getDisplayName, getDisplayNameResource, getDisplaySortString, getLocalizedResourceBundle, getResourceBundle, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResource |
Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, getName, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
ArrayOfBeanTyperParamDescriptor
public ArrayOfBeanTyperParamDescriptor()
ArrayOfBeanTyperParamDescriptor
public ArrayOfBeanTyperParamDescriptor(java.lang.String pName,
java.lang.String pDescription,
java.lang.Class pParamClass,
boolean pOptional,
boolean pLocal,
java.lang.String pBeanTyperParamName)
- Construct an ArrayOfBeanTyperParamDescriptor. Most of these arguments
are the same as those to ParamDescriptor.
The last argument, pBeanTyperParamName, is the name of the input parameter
that we should base our output type on. This should be the parameter
name of an BeanTyper (a bean that describes the type of a class of
related beans). Our output type is an array of these types.
setBeanTyperParamName
public void setBeanTyperParamName(java.lang.String pBeanTyperParamName)
- Sets the property BeanTyper. This is the
name of the input parameter, which should be a BeanTyper, that
we use to based our output parameter's type on.
getBeanTyperParamName
public java.lang.String getBeanTyperParamName()
- Returns:
- The value of the property BeanTyperParamName.
getParamInfo
public ObjectTypeInfo getParamInfo(ParamDescriptorResolver pResolver)
- Returns the type of the parameter by first getting the type of the
input parameter. If this type is known, and it is known to be an
array, we return our type as the component type of that array.
- Specified by:
getParamInfo
in class DynamicParamDescriptor