|
||||||||||
| 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.TransformationArgumentDefinition
The class used to define a template transformation's arguments.
A TransformationArgumentDefinition object is used to define and describe a template transformation's argument. TransformationArgumentDefinition objects can be created through a CompositeTransformation object.
| Constructor Summary | |
protected |
TransformationArgumentDefinition(int transId,
int position,
java.lang.String tableName,
java.lang.String fieldName,
java.lang.String description,
boolean isReturnedValue)
Constructs a new TransformationArgumentDefinition. |
| Method Summary | |
protected static java.util.ArrayList |
getArgumentDefinitionsForTransformation(int transId)
Returns all the TransformationArgumentDefinition objects of the specified transformation. |
java.lang.String |
getDescription()
Returns the description of this TransformationArgumentDefinition. |
java.lang.String |
getFieldName()
Returns the fieldname of this TransformationArgumentDefinition. |
boolean |
getIsReturnedValue()
Returns the type of this TransformationArgumentDefinition. |
int |
getPosition()
Returns the position in the transformation's argument definition list of this TransformationArgumentDefinition. |
java.lang.String |
getTableName()
Returns the tablename of this TransformationArgumentDefinition. |
int |
getTransId()
Returns the composite transformation identifier defining which transformation this TransformationArgumentDefinition belongs to. |
void |
print()
|
protected void |
remove()
Removes this TransformationArgumentDefinition from the TTR. |
void |
setDescription(java.lang.String description)
Sets the description of this TransformationArgumentDefinition . |
void |
setFieldName(java.lang.String name)
Sets the fieldname of this TransformationArgumentDefinition . |
void |
setIsReturnedValue(boolean isReturnedValue)
Sets the isReturnedValue type of this TransformationArgumentDefinition. |
void |
setTableName(java.lang.String name)
Sets the tablename of this TransformationArgumentDefinition . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected TransformationArgumentDefinition(int transId,
int position,
java.lang.String tableName,
java.lang.String fieldName,
java.lang.String description,
boolean isReturnedValue)
throws TemplateTransformationRepositoryException,
RepositoryAccessException
transId - composite transformation identifier defining which transformation this argument definition belongs to.position - the position in the transformation's argument definition list of this TransformationArgumentDefinitiontableName - name of the table defining this argument.fieldName - name of the table's field, defining this argument.description - description of this argument
TemplateTransformationRepositoryException - see TemplateTransformationRepository.createCompositeTransformationDefinition(int, int, String, String, String, boolean)
RepositoryAccessException - if the repositories cannot be accessed| Method Detail |
public java.lang.String getTableName()
throws TemplateTransformationRepositoryException,
RepositoryAccessException
TemplateTransformationRepositoryException - see TemplateTransformationRepository.getCompositeTransformationDefinitionTableName(int, int)
RepositoryAccessException - if the repositories cannot be accessed
public java.lang.String getFieldName()
throws TemplateTransformationRepositoryException,
RepositoryAccessException
TemplateTransformationRepositoryException - see TemplateTransformationRepository.getCompositeTransformationDefinitionFieldName(int, int)
RepositoryAccessException - if the repositories cannot be accessed
public java.lang.String getDescription()
throws TemplateTransformationRepositoryException,
RepositoryAccessException
TemplateTransformationRepositoryException - see TemplateTransformationRepository.getCompositeTransformationDefinitionDescription(int, int)
RepositoryAccessException - if the repositories cannot be accessed
public boolean getIsReturnedValue()
throws TemplateTransformationRepositoryException,
RepositoryAccessException
TemplateTransformationRepositoryException - see TemplateTransformationRepository.getCompositeTransformationDefinitionIsReturnedValue(int, int)
RepositoryAccessException - if the repositories cannot be accessed
public void setTableName(java.lang.String name)
throws TemplateTransformationRepositoryException,
RepositoryAccessException
name - this TransformationArgumentDefinition's tablename.
TemplateTransformationRepositoryException - see TemplateTransformationRepository.setCompositeTransformationDefinitionTableName(int, int, String)
RepositoryAccessException - if the repositories cannot be accessed
public void setFieldName(java.lang.String name)
throws TemplateTransformationRepositoryException,
RepositoryAccessException
name - this TransformationArgumentDefinition's fieldname.
TemplateTransformationRepositoryException - see TemplateTransformationRepository.setCompositeTransformationDefinitionFieldName(int, int, String)
RepositoryAccessException - if the repositories cannot be accessed
public void setDescription(java.lang.String description)
throws TemplateTransformationRepositoryException,
RepositoryAccessException
description - this TransformationArgumentDefinition's description.
TemplateTransformationRepositoryException - see TemplateTransformationRepository.setCompositeTransformationDefinitionDescription(int, int, String)
RepositoryAccessException - if the repositories cannot be accessed
public void setIsReturnedValue(boolean isReturnedValue)
throws TemplateTransformationRepositoryException,
RepositoryAccessException
isReturnedValue - true if this TransformationArgumentDefinition is about an argument that stores a transformation's returned value, false otherwise.
TemplateTransformationRepositoryException - see TemplateTransformationRepository.setCompositeTransformationDefinitionIsReturnedValue(int, int, boolean)
RepositoryAccessException - if the repositories cannot be accessed
protected void remove()
throws TemplateTransformationRepositoryException,
RepositoryAccessException
TemplateTransformationRepositoryException - see TemplateTransformationRepository.removeCompositeTransformationDefinition(int, int)
RepositoryAccessException - if the repositories cannot be accessedpublic int getTransId()
public int getPosition()
protected static java.util.ArrayList getArgumentDefinitionsForTransformation(int transId)
throws TemplateTransformationRepositoryException,
RepositoryAccessException
null if no argument definitions for the specified transformation exist in the TTR.
transId - ID of transformation that the TransformationArgumentDefinition objects will belong to
TemplateTransformationRepositoryException - see
TemplateTransformationRepository.getCompositeTransformationDefinitionArgPosList(int).
RepositoryAccessException - if the repositories cannot be accessed
public void print()
throws TemplateTransformationRepositoryException,
RepositoryAccessException
TemplateTransformationRepositoryException
RepositoryAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||