|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Parameter in a DataEngnine operation. All classes which implement this interface should provide a default constructor
Field Summary | |
static char |
CONTEXT_SPECIFIC_ID_END
Char with which all parameter context specific id's (NOT unqiue id's) end |
static char |
CONTEXT_SPECIFIC_ID_START
|
static int |
DEFAULT_DATA_TYPE
Default data type for parameter values. |
static char |
ID_START
Char with which all parameter context specific id's begin |
static String |
PARAMETER_INDEX_PREFIX
Constant which can be used to identify a parameter by index |
Method Summary | |
Object |
clearValue()
Clears this parameter's value, returning the current value after it has been cleared. |
Object |
clone()
Clones this parameter |
IParameter |
cloneParameter()
Clones this parameter |
String |
getCodeReplacementString()
Gets the String which represents this parameter's value in a String of code. |
IContext |
getContext()
Gets the parameter's context |
int |
getContextIndex()
Gets the (0-based) index of this parameter within its context |
String |
getContextSpecificId()
Gets the context specific ID of this parameter. |
int |
getDataType()
Gets the SQL data type of the parameter |
IParameterSource |
getSource()
Gets the object from which this parameter was generated. |
FieldDescriptorRow |
getTargetFieldDescriptor()
Gets a field descriptor describing this parameter's target (i.e. |
String |
getToken()
Gets the literal token that was used to denote this parameter in code |
Object |
getValue()
Gets the value of the parameter |
Object |
loadValueFromSource(Object source)
Loads this parameter's value from a source. |
void |
setContext(IContext context)
Sets the parameter's context |
void |
setDataType(int newDataType)
Sets the SQL data type of the parameter |
void |
setSource(IParameterSource source)
Sets the object from which this parameter was generated. |
void |
setToken(String token)
Sets the literal token that was used to denote this parameter in code |
void |
setValue(Object value)
Sets the value of the parameter |
Field Detail |
public static final int DEFAULT_DATA_TYPE
public static final char ID_START
public static final char CONTEXT_SPECIFIC_ID_START
public static final char CONTEXT_SPECIFIC_ID_END
public static final String PARAMETER_INDEX_PREFIX
Method Detail |
public Object clearValue() throws CMException
CMException
public Object clone()
public IParameter cloneParameter()
public String getCodeReplacementString() throws DataEngineException
DataEngineException
public IContext getContext()
public int getContextIndex()
public String getContextSpecificId()
public int getDataType()
public IParameterSource getSource()
public FieldDescriptorRow getTargetFieldDescriptor() throws CMException
CMException
public String getToken()
public Object getValue()
public Object loadValueFromSource(Object source) throws CMException
CMException
public void setContext(IContext context)
public void setDataType(int newDataType)
public void setSource(IParameterSource source)
public void setToken(String token) throws CMException
CMException
public void setValue(Object value) throws CMException
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |