planetj.dataengine.parameter
Class FieldOrUsageIdParameter

java.lang.Object
  |
  +--planetj.dataengine.parameter.AbstractParameter
        |
        +--planetj.dataengine.parameter.FieldOrUsageIdParameter
All Implemented Interfaces:
Cloneable, IJDBCSQLParameter, INamedParameter, IParameter, Serializable
Direct Known Subclasses:
RowParameter, UserParameter

public abstract class FieldOrUsageIdParameter
extends AbstractParameter
implements INamedParameter, IJDBCSQLParameter

A parameter which can get its values based on a usage id or a field name

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface planetj.dataengine.parameter.IParameter
CONTEXT_SPECIFIC_ID_END, CONTEXT_SPECIFIC_ID_START, DEFAULT_DATA_TYPE, ID_START, PARAMETER_INDEX_PREFIX
 
Constructor Summary
FieldOrUsageIdParameter()
           
 
Method Summary
 String getParameterName()
          Gets the name of this parameter (may be null).
 boolean isFieldNameParameter()
          Tests if this parameter extracts its value based on a field name
 boolean isUsageIdParameter()
          Tests if this parameter extracts its value based on a usage id
 
Methods inherited from class planetj.dataengine.parameter.AbstractParameter
clearValue, clone, cloneParameter, equals, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDataType, getDefaultValueAsString, getSource, getTargetFieldDescriptor, getToken, getValue, hashCode, isSQLParameter, setContext, setDataType, setDefaultValueAsString, setSource, setSQLParameter, setToken, setValue, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface planetj.dataengine.parameter.IJDBCSQLParameter
isSQLParameter, setSQLParameter
 
Methods inherited from interface planetj.dataengine.parameter.IParameter
clearValue, clone, cloneParameter, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDataType, getSource, getTargetFieldDescriptor, getToken, getValue, loadValueFromSource, setContext, setDataType, setSource, setToken, setValue
 

Constructor Detail

FieldOrUsageIdParameter

public FieldOrUsageIdParameter()
Method Detail

getParameterName

public String getParameterName()
Gets the name of this parameter (may be null).

Specified by:
getParameterName in interface INamedParameter

isFieldNameParameter

public boolean isFieldNameParameter()
Tests if this parameter extracts its value based on a field name


isUsageIdParameter

public boolean isUsageIdParameter()
Tests if this parameter extracts its value based on a usage id