|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--uk.ac.ic.doc.automed.reps.StatementArgumentDefinition
The class used to define a statement's arguments.
A StatementArgumentDefinition object is used to define and describe a statement's argument. StatementArgumentDefinition objects can be created through a Statement object.
| Constructor Summary | |
protected |
StatementArgumentDefinition(int stId,
int position,
java.lang.String tableName,
java.lang.String fieldName,
java.lang.String description)
Constructs a new StatementArgumentDefinition. |
| Method Summary | |
protected static java.util.ArrayList |
getArgumentDefinitionsForStatement(int stId)
Returns all the StatementArgumentDefinition objects of the specified statement. |
java.lang.String |
getDescription()
Returns the description of this StatementArgumentDefinition. |
java.lang.String |
getFieldName()
Returns the fieldname of this StatementArgumentDefinition. |
int |
getPosition()
Returns the position in the statement's argument definition list of this StatementArgumentDefinition. |
int |
getStId()
Returns the statement identifier defining which statement this StatementArgumentDefinition belongs to. |
java.lang.String |
getTableName()
Returns the tablename of this StatementArgumentDefinition. |
void |
print()
|
protected void |
remove()
Removes this StatementArgumentDefinition from the TTSR. |
void |
setDescription(java.lang.String description)
Sets the description of this StatementArgumentDefinition. |
void |
setFieldName(java.lang.String name)
Sets the fieldname of this StatementArgumentDefinition. |
void |
setTableName(java.lang.String name)
Sets the tablename of this StatementArgumentDefinition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected StatementArgumentDefinition(int stId,
int position,
java.lang.String tableName,
java.lang.String fieldName,
java.lang.String description)
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
stId - statement identifier defining which statement this argument definition belongs to.position - the position in the statement's argument definition list of this StatementArgumentDefinitiontableName - name of the table defining this argument.fieldName - name of the table's field, defining this argument.description - description of this argument
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.createStatementDefinition(int, int, String, String, String)
RepositoryAccessException - if the repositories cannot be accessed| Method Detail |
public java.lang.String getTableName()
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.getStatementDefinitionTableName(int, int)
RepositoryAccessException - if the repositories cannot be accessed
public java.lang.String getFieldName()
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.getStatementDefinitionFieldName(int, int)
RepositoryAccessException - if the repositories cannot be accessed
public java.lang.String getDescription()
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.getStatementDefinitionDescription(int, int)
RepositoryAccessException - if the repositories cannot be accessed
public void setTableName(java.lang.String name)
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
name - this StatementArgumentDefinition's new tablename.
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.setStatementDefinitionTableName(int, int, String)
RepositoryAccessException - if the repositories cannot be accessed
public void setFieldName(java.lang.String name)
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
name - this StatementArgumentDefinition's new fieldname.
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.setStatementDefinitionFieldName(int, int, String)
RepositoryAccessException - if the repositories cannot be accessed
public void setDescription(java.lang.String description)
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
description - this StatementArgumentDefinition's new description.
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.setStatementDefinitionDescription(int, int, String)
RepositoryAccessException - if the repositories cannot be accessed
protected void remove()
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
TemplateTransformationSyntaxRepositoryException - see TemplateTransformationSyntaxRepository.removeStatementDefinition(int, int)
RepositoryAccessException - if the repositories cannot be accessedpublic int getStId()
public int getPosition()
protected static java.util.ArrayList getArgumentDefinitionsForStatement(int stId)
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
null if no StatementArumentDefinition object exist
stId - ID of statement that the StatementArgumentDefinition objects will belong to
TemplateTransformationSyntaxRepositoryException - see
TemplateTransformationSyntaxRepository.getStatementDefinitionArgPosList(int)
RepositoryAccessException - if the repositories cannot be accessed
public void print()
throws TemplateTransformationSyntaxRepositoryException,
RepositoryAccessException
TemplateTransformationSyntaxRepositoryException
RepositoryAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||