|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMetaDataManager
| Method Summary | |
|---|---|
org.eclipse.net4j.db.DBType |
getDBType(org.eclipse.emf.ecore.EClassifier eType)
Get the DB type associated with the given EClassifier. |
long |
getMetaID(org.eclipse.emf.ecore.EModelElement modelElement)
Returns the meta ID of the given EModelElement. |
org.eclipse.emf.ecore.EModelElement |
getMetaInstance(long id)
Returns the EModelElement referred to by the given ID. |
org.eclipse.emf.ecore.EPackage[] |
loadPackageUnit(java.sql.Connection connection,
InternalCDOPackageUnit packageUnit)
Loads a package unit from the database. |
java.util.Collection<InternalCDOPackageUnit> |
readPackageUnits(java.sql.Connection connection)
Reads information about package units present in the database. |
void |
writePackageUnits(java.sql.Connection connection,
InternalCDOPackageUnit[] packageUnits,
org.eclipse.net4j.util.om.monitor.OMMonitor monitor)
Write package units to the database. |
| Method Detail |
|---|
long getMetaID(org.eclipse.emf.ecore.EModelElement modelElement)
EModelElement. getMetaID(getMetaInstance(x)) yields
x
modelElement - the element
org.eclipse.emf.ecore.EModelElement getMetaInstance(long id)
EModelElement referred to by the given ID. getMetaInstance(getMetaID(m)) yields
m
org.eclipse.emf.ecore.EPackage[] loadPackageUnit(java.sql.Connection connection,
InternalCDOPackageUnit packageUnit)
connection - the DB connection to read from.packageUnit - the package unit to load.
java.util.Collection<InternalCDOPackageUnit> readPackageUnits(java.sql.Connection connection)
connection - the DB connection to read from.
void writePackageUnits(java.sql.Connection connection,
InternalCDOPackageUnit[] packageUnits,
org.eclipse.net4j.util.om.monitor.OMMonitor monitor)
connection - the DB connection to write to.packageUnits - the package units to write.monitor - the monitor to indicate progress.org.eclipse.net4j.db.DBType getDBType(org.eclipse.emf.ecore.EClassifier eType)
EClassifier.
eType - the type to look up.
DBType of the given EClassifier.
|
Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||