public class Proc extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
Vector<String> |
comments
The reasons and debates for the procedure
|
Vector<String> |
dynamics
List of dynamic SQL code fields
|
Vector<Integer> |
dynamicSizes
List of dynamic SQL code field sizes
|
Vector<Boolean> |
dynamicStrung
List of dynamic SQL code field sizes
|
boolean |
extendsStd
Indicates the procedures extends the Standard Table definition
|
Vector<String> |
fields
SelectBy DeleteBy std proc fields
|
String |
from
name of procedure
|
boolean |
hasImage
Indicates the procedure has an Image field
|
boolean |
hasReturning |
boolean |
hasUpdates |
Vector<Field> |
inputs
List of input fields
|
boolean |
isAction
Indicates an action no result is expected
|
boolean |
isData
If the procedure is only to produce passthru SQL Code
|
boolean |
isIdlCode
If the procedure is only to produce passthru SQL Code
|
boolean |
isInsert
Indicates the procedure is the Insert procedure
|
boolean |
isMultipleInput
Indicates a single result is expected
|
boolean |
isProc
Indicates the procedure uses stored procedure logic Code
|
boolean |
isSingle
Indicates a single result is expected
|
boolean |
isSProc
Indicates the procedure uses stored procedure logic Code
|
boolean |
isSql
Indicates the procedure is internal SQL code
|
boolean |
isStd
Indicates procedure is a Standard procedure
|
boolean |
isUpdate
Indicates a update Proc
|
Vector<Line> |
lines
SQL code for accessing the table
|
String |
name
name of procedure
|
int |
noRows
name of rows on multiples
|
Vector<String> |
options
Generate options for procedure
|
Vector<String> |
orderFields
Select in order fields
|
Vector<Field> |
outputs
List of output fields
|
Vector<String> |
placeHolders
SQL code for accessing the table
|
int |
start
Code starts at line
|
Table |
table
parent table
|
Vector<String> |
updateFields
SelectFor update fields
|
boolean |
useKey
Indicates the procedures uses the Primary key
|
String |
username
user name of procedure
|
boolean |
useStd
Indicates the procedure uses the Standard Table definition
|
String |
where
name of procedure
|
| Constructor and Description |
|---|
Proc()
Constructs with default values
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkPlaceHolders() |
Vector<String> |
getComments() |
Vector<String> |
getDynamics() |
int |
getDynamicSize(String s)
Checks for for name in dynamics list
|
Vector<Integer> |
getDynamicSizes() |
Vector<Boolean> |
getDynamicStrung() |
Vector<String> |
getFields() |
String |
getFrom() |
Field |
getInput(String s) |
Vector<Field> |
getInputs() |
Vector<Line> |
getLines() |
String |
getName() |
int |
getNoRows() |
Vector<String> |
getOptions() |
Vector<String> |
getOrderFields() |
Field |
getOutput(String s)
Checks for for name in output list
|
Vector<Field> |
getOutputs() |
Vector<String> |
getPlaceHolders() |
Vector<String> |
getUpdateFields() |
String |
getUsername() |
String |
getWhere() |
boolean |
hasDiscreteInput()
Checks if proc has unique input ie.
|
boolean |
hasDynamic(String s)
Checks for for name in dynamics list
|
boolean |
hasFields(String value) |
boolean |
hasInput(String s)
Checks for for name in input list
|
boolean |
hasModifieds() |
boolean |
hasNoData()
Checks if proc uses data
|
boolean |
hasOption(String value) |
boolean |
hasOrders(String value) |
boolean |
hasOutput(String s)
Checks for for name in output list
|
boolean |
hasUpdateFields(String value) |
int |
indexOf(String s)
Checks for for name in input list
|
boolean |
isAction() |
boolean |
isData() |
boolean |
isExtendsStd() |
boolean |
isHasImage() |
boolean |
isHasReturning() |
boolean |
isHasUpdates() |
boolean |
isIdlCode() |
boolean |
isInsert() |
boolean |
isMultipleInput() |
boolean |
isProc() |
boolean |
isSingle() |
boolean |
isSProc() |
boolean |
isSql() |
boolean |
isStd() |
boolean |
isStdExtended() |
boolean |
isStrung(String s)
Checks if a strung dynamic
|
boolean |
isUpdate() |
boolean |
isUseKey() |
boolean |
isUseStd() |
String |
lowerFirst()
Folds the first character of name to an lower case character
|
void |
reader(DataInputStream ids) |
String |
toString() |
String |
upperFirst()
Folds the first character of name to an upper case character
|
String |
upperFirstOnly()
Folds the first character of name to an upper case character
|
void |
writer(DataOutputStream ods) |
public Table table
public String name
public String from
public String where
public String username
public int noRows
public boolean isProc
public boolean isSProc
public boolean isData
public boolean isIdlCode
public boolean isSql
public boolean isSingle
public boolean isUpdate
public boolean isAction
public boolean isStd
public boolean useStd
public boolean extendsStd
public boolean useKey
public boolean hasImage
public boolean isMultipleInput
public boolean isInsert
public boolean hasReturning
public boolean hasUpdates
public int start
public String getName()
public String getFrom()
public String getWhere()
public String getUsername()
public int getNoRows()
public boolean isProc()
public boolean isSProc()
public boolean isData()
public boolean isIdlCode()
public boolean isSql()
public boolean isSingle()
public boolean isUpdate()
public boolean isAction()
public boolean isStd()
public boolean isUseStd()
public boolean isExtendsStd()
public boolean isUseKey()
public boolean isHasImage()
public boolean isMultipleInput()
public boolean isInsert()
public boolean isHasReturning()
public boolean isHasUpdates()
public void reader(DataInputStream ids) throws IOException
IOExceptionpublic void writer(DataOutputStream ods) throws IOException
IOExceptionpublic String upperFirst()
public String upperFirstOnly()
public String lowerFirst()
public boolean hasInput(String s)
public boolean hasModifieds()
public int indexOf(String s)
public boolean hasOutput(String s)
public boolean hasDynamic(String s)
public int getDynamicSize(String s)
public boolean isStrung(String s)
public boolean hasNoData()
public boolean hasDiscreteInput()
public void checkPlaceHolders()
public boolean hasOption(String value)
public boolean hasFields(String value)
public boolean hasOrders(String value)
public boolean hasUpdateFields(String value)
public boolean isStdExtended()
Copyright © 2019. All rights reserved.