atg.droplet
Class IdentityParamDescriptor
java.lang.Object
java.beans.FeatureDescriptor
atg.beans.SerializableFeatureDescriptor
atg.droplet.ParamDescriptor
atg.droplet.DynamicParamDescriptor
atg.droplet.IdentityParamDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public class IdentityParamDescriptor
- extends DynamicParamDescriptor
A DynamicParamDescriptor that assumes the same type as the named parameter
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary |
IdentityParamDescriptor()
|
IdentityParamDescriptor(java.lang.String pName,
java.lang.String pDescription,
java.lang.Class pParamClass,
boolean pOptional,
boolean pLocal,
java.lang.String pParamName)
Construct an ArrayElementParamDescriptor. |
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
IdentityParamDescriptor
public IdentityParamDescriptor()
IdentityParamDescriptor
public IdentityParamDescriptor(java.lang.String pName,
java.lang.String pDescription,
java.lang.Class pParamClass,
boolean pOptional,
boolean pLocal,
java.lang.String pParamName)
- Construct an ArrayElementParamDescriptor. Most of these arguments
are the same as those to ParamDescriptor.
The last argument, pArrayParamName, is the name of the input parameter
that we should base our output parameter's type on.
setParamName
public void setParamName(java.lang.String pParamName)
- Sets the property ParamName. This is the name of the input
parameter that we should base our output parameter's type on.
getParamName
public java.lang.String getParamName()
- Returns:
- The value of the property ParamName.
getParamInfo
public ObjectTypeInfo getParamInfo(ParamDescriptorResolver pResolver)
- Returns the type of the parameter as the type of some
input parameter.
- Specified by:
getParamInfo
in class DynamicParamDescriptor