Class Parameter
java.lang.Object
com.independentsoft.office.spreadsheet.connections.Parameter
The Class Parameter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the cell reference.doubleGets the double value.intGets the integer value.getName()Gets the name.Gets the prompt.Gets the sql data type.Gets the string value.getType()Gets the type.booleanChecks if is boolean value.booleanChecks if is refresh on change.voidsetBooleanValue(boolean booleanValue)Sets the boolean value.voidsetCellReference(String cellReference)Sets the cell reference.voidsetDoubleValue(double doubleValue)Sets the double value.voidsetIntegerValue(int integerValue)Sets the integer value.voidSets the name.voidSets the prompt.voidsetRefreshOnChange(boolean refreshOnChange)Sets the refresh on change.voidsetSqlDataType(SqlDataType sqlDataType)Sets the sql data type.voidsetStringValue(String stringValue)Sets the string value.voidsetType(ParameterType type)Sets the type.toString()
-
Constructor Details
-
Parameter
public Parameter()Instantiates a new parameter.
-
-
Method Details
-
clone
-
toString
-
isBooleanValue
public boolean isBooleanValue()Checks if is boolean value.- Returns:
- true, if is boolean value
-
setBooleanValue
public void setBooleanValue(boolean booleanValue)Sets the boolean value.- Parameters:
booleanValue- the new boolean value
-
getCellReference
Gets the cell reference.- Returns:
- the cell reference
-
setCellReference
Sets the cell reference.- Parameters:
cellReference- the new cell reference
-
getDoubleValue
public double getDoubleValue()Gets the double value.- Returns:
- the double value
-
setDoubleValue
public void setDoubleValue(double doubleValue)Sets the double value.- Parameters:
doubleValue- the new double value
-
getIntegerValue
public int getIntegerValue()Gets the integer value.- Returns:
- the integer value
-
setIntegerValue
public void setIntegerValue(int integerValue)Sets the integer value.- Parameters:
integerValue- the new integer value
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getPrompt
Gets the prompt.- Returns:
- the prompt
-
setPrompt
Sets the prompt.- Parameters:
prompt- the new prompt
-
isRefreshOnChange
public boolean isRefreshOnChange()Checks if is refresh on change.- Returns:
- true, if is refresh on change
-
setRefreshOnChange
public void setRefreshOnChange(boolean refreshOnChange)Sets the refresh on change.- Parameters:
refreshOnChange- the new refresh on change
-
getSqlDataType
Gets the sql data type.- Returns:
- the sql data type
-
setSqlDataType
Sets the sql data type.- Parameters:
sqlDataType- the new sql data type
-
getStringValue
Gets the string value.- Returns:
- the string value
-
setStringValue
Sets the string value.- Parameters:
stringValue- the new string value
-