Package adalid.util.sql
Class SqlRoutineParameter
- java.lang.Object
-
- adalid.util.sql.SqlArtifact
-
- adalid.util.sql.SqlRoutineParameter
-
public class SqlRoutineParameter extends SqlArtifact
- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description SqlRoutineParameter(SqlRoutine routine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefault()SqlTablegetForeignTable()StringgetMetajavaType()SqlColumngetNamesakeColumn()SqlColumngetNamesakeColumn(String name)intgetPosition()StringgetQualifiedName()SqlTablegetReferencedTable()SqlRoutinegetRoutine()StringgetSqlDataType()StringgetSqlDefaultValue()StringgetTrueType()StringgetType()booleanisForeign()booleanisHidden()booleanisRequired()booleanmatches(String type, String role)-
Methods inherited from class adalid.util.sql.SqlArtifact
getCapitalizedJavaName, getDecapitalizedJavaName, getJavaName, getName, toString
-
-
-
-
Constructor Detail
-
SqlRoutineParameter
public SqlRoutineParameter(SqlRoutine routine)
-
-
Method Detail
-
getRoutine
public SqlRoutine getRoutine()
- Returns:
- the routine
-
getPosition
public int getPosition()
- Returns:
- the ordinal position
-
getType
public String getType()
- Returns:
- the type
-
getSqlDataType
public String getSqlDataType()
- Returns:
- the sql data type
-
isRequired
public boolean isRequired()
- Returns:
- the required indicator
-
isHidden
public boolean isHidden()
- Returns:
- the hidden indicator
-
getDefault
public String getDefault()
- Returns:
- the default value
-
getSqlDefaultValue
public String getSqlDefaultValue()
- Returns:
- the sql default value
-
getReferencedTable
public SqlTable getReferencedTable()
-
getNamesakeColumn
public SqlColumn getNamesakeColumn()
- Returns:
- the namesake column
-
getNamesakeColumn
public SqlColumn getNamesakeColumn(String name)
- Parameters:
name- name- Returns:
- the namesake column
-
getForeignTable
public SqlTable getForeignTable()
- Returns:
- the foreign table
-
isForeign
public boolean isForeign()
- Returns:
- the foreign indicator
-
getTrueType
public String getTrueType()
-
getMetajavaType
public String getMetajavaType()
-
getQualifiedName
public String getQualifiedName()
-
-