|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectentities.Parameter
The Parameter class represents the information about the method/functions parameters.
Constructor Summary | |
Parameter()
Construct a Parameter object |
|
Parameter(java.lang.String name,
java.lang.String type)
Construct a Parameter object |
Method Summary | |
static void |
createTable(java.sql.Connection dbConnection)
|
static void |
delete(java.sql.Connection dbConnection,
int id)
|
java.lang.String |
getFile()
|
java.lang.String |
getName()
|
ScopeManager |
getParent()
|
int |
getPosition()
|
java.lang.String |
getType()
|
void |
insert(java.sql.Connection dbConnection,
int sourceId,
int sourceType)
|
boolean |
isConst()
|
void |
print(java.lang.String indentation)
Print all information in a Parameter object |
void |
setFile(java.lang.String file)
|
void |
setName(java.lang.String name)
|
void |
setPosition(int position)
|
void |
setScope(ScopeManager parentScope)
|
void |
setType(java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Parameter(java.lang.String name, java.lang.String type)
name
- Name of the Parametertype
- Type of Parameterpublic Parameter()
Method Detail |
public void setName(java.lang.String name)
public void setType(java.lang.String type)
public void setFile(java.lang.String file)
file
- represent the name of the file in which the
param has been foundpublic void setPosition(int position)
position
- represent the line in which the parameter has
been foundpublic void setScope(ScopeManager parentScope)
public java.lang.String getName()
public java.lang.String getType()
public java.lang.String getFile()
public int getPosition()
public ScopeManager getParent()
public boolean isConst()
public void print(java.lang.String indentation)
public static void delete(java.sql.Connection dbConnection, int id) throws java.sql.SQLException
java.sql.SQLException
public static void createTable(java.sql.Connection dbConnection) throws java.sql.SQLException
java.sql.SQLException
public void insert(java.sql.Connection dbConnection, int sourceId, int sourceType) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |