Interface IArgument
- All Known Implementing Classes:
Argument,PgAbstractFunction.PgArgument
public interface IArgument
Interface for database function argument
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendDeclaration(StringBuilder sbString, boolean includeDefaultValue, boolean includeArgName, UnaryOperator<String> quoter) Appends the argument declaration to a StringBuilder.getMode()getName()booleanvoidsetDefaultExpression(String defaultExpression) voidsetReadOnly(boolean isReadOnly)
-
Method Details
-
getDataType
String getDataType() -
getDefaultExpression
String getDefaultExpression() -
setDefaultExpression
-
isReadOnly
boolean isReadOnly() -
setReadOnly
void setReadOnly(boolean isReadOnly) -
getMode
ArgMode getMode() -
getName
String getName() -
appendDeclaration
void appendDeclaration(StringBuilder sbString, boolean includeDefaultValue, boolean includeArgName, UnaryOperator<String> quoter) Appends the argument declaration to a StringBuilder.- Parameters:
sbString- the StringBuilder to append toincludeDefaultValue- whether to include the default valueincludeArgName- whether to include the argument namequoter- quoter for arguments
-