public class DbFunctionPackage extends DbObject<DbSchema>
Constructor and Description |
---|
DbFunctionPackage(DbSchema parent,
String name) |
Modifier and Type | Method and Description |
---|---|
DbFunction |
addFunction(String name)
Creates and adds a function with the given name to this package.
|
<T extends DbFunction> |
addFunction(T function)
Adds the given function to this package.
|
DbFunction |
findFunction(String name) |
DbSchema |
getSchema() |
addObjects, checkOwnership, checkOwnership, findObject, getAbsoluteName, getName, getParent, getSpec, toString
public DbSchema getSchema()
public DbFunction findFunction(String name)
name
- name of the function to findnull
if none.public DbFunction addFunction(String name)
Note, no effort is made to make sure the given name is unique.
name
- the name of the new functionpublic <T extends DbFunction> T addFunction(T function)
Note, no effort is made to make sure the given function is unique.
function
- the function to be addedCopyright © 2006–2021 OpenHMS. All rights reserved.