|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carlosbcruz.access.model.Function
public class Function
Store a function information
Constructor Summary | |
---|---|
Function()
|
Method Summary | |
---|---|
void |
addComment(java.lang.String comment)
|
void |
addComplexParameter(ComplexParameter parameter)
Add a complex parameter |
void |
addSimpleParameter(SimpleParameter parameter)
Add a simple parameter if it does not exist. |
java.lang.String |
getComment()
|
ComplexParameter |
getComplexParameter(int i)
Retrieve the complex parameter of relative position i |
java.lang.String |
getName()
|
int |
getNumberOfComplexParameters()
Inform the number of complex parameters |
int |
getNumberOfSimpleParameters()
Inform the number of parameters |
SimpleParameter |
getSimpleParameter(int i)
|
void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Function()
Method Detail |
---|
public SimpleParameter getSimpleParameter(int i)
i
- parameter relative position
public void addSimpleParameter(SimpleParameter parameter)
parameter
- the simple parameterpublic int getNumberOfSimpleParameters()
public ComplexParameter getComplexParameter(int i)
i
- The relative position
public void addComplexParameter(ComplexParameter parameter)
parameter
- the complex parameterpublic int getNumberOfComplexParameters()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getComment()
public void addComment(java.lang.String comment)
comment
- The comment to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |