public class Schema extends AbstractMetadataRecord
AbstractMetadataRecord.DataModifiable, AbstractMetadataRecord.Modifiable
NAME_DELIM_CHAR, RELATIONAL_URI
Constructor and Description |
---|
Schema() |
Modifier and Type | Method and Description |
---|---|
void |
addFunction(FunctionMethod function) |
void |
addProcedure(Procedure procedure) |
void |
addTable(Table table) |
FunctionMethod |
getFunction(String funcName) |
Map<String,FunctionMethod> |
getFunctions()
Get the functions defined in this schema
|
String |
getPrimaryMetamodelUri() |
Procedure |
getProcedure(String procName) |
Map<String,Procedure> |
getProcedures()
Get the procedures defined in this schema
|
Table |
getTable(String tableName) |
Map<String,Table> |
getTables()
Get the tables defined in this schema
|
boolean |
isPhysical() |
boolean |
isVisible() |
void |
setPhysical(boolean physical) |
void |
setPrimaryMetamodelUri(String string) |
void |
setVisible(boolean b) |
equals, getAnnotation, getCanonicalName, getFullName, getName, getNameInSource, getParent, getProperties, getProperty, getUUID, hashCode, setAnnotation, setName, setNameInSource, setProperties, setProperty, setUUID, toString
public void addTable(Table table)
public void addProcedure(Procedure procedure)
public void addFunction(FunctionMethod function)
public Map<String,Procedure> getProcedures()
public Map<String,FunctionMethod> getFunctions()
public FunctionMethod getFunction(String funcName)
public String getPrimaryMetamodelUri()
public boolean isVisible()
public boolean isPhysical()
public void setPrimaryMetamodelUri(String string)
string
- public void setVisible(boolean b)
b
- public void setPhysical(boolean physical)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.