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 uid)
Get a function by uid
|
NavigableMap<String,FunctionMethod> |
getFunctions()
Get the functions defined in this schema in a map of uuid to
FunctionMethod |
String |
getPrimaryMetamodelUri() |
Procedure |
getProcedure(String procName) |
NavigableMap<String,Procedure> |
getProcedures()
Get the procedures defined in this schema
|
List<AbstractMetadataRecord> |
getResolvingOrder() |
Table |
getTable(String tableName) |
NavigableMap<String,Table> |
getTables()
Get the tables defined in this schema
|
boolean |
isPhysical() |
void |
setPhysical(boolean physical) |
void |
setPrimaryMetamodelUri(String string) |
equals, getAnnotation, getCanonicalName, getFullName, getIncomingObjects, getName, getNameInSource, getParent, getProperties, getProperty, getSourceName, getSQLString, getSQLString, getUUID, hashCode, isUUIDSet, setAnnotation, setIncomingObjects, setName, setNameInSource, setProperties, setProperty, setUUID, toString
public void addTable(Table table)
public void addProcedure(Procedure procedure)
public void addFunction(FunctionMethod function)
public NavigableMap<String,Table> getTables()
public NavigableMap<String,Procedure> getProcedures()
public NavigableMap<String,FunctionMethod> getFunctions()
FunctionMethod
public FunctionMethod getFunction(String uid)
funcName
- public String getPrimaryMetamodelUri()
public boolean isPhysical()
public void setPrimaryMetamodelUri(String string)
string
- public void setPhysical(boolean physical)
public List<AbstractMetadataRecord> getResolvingOrder()
Copyright © 2016 JBoss by Red Hat. All rights reserved.